/* ==========================================================================
   OBC — "BLACK FLAG" component layer
   Tokens come from theme.json (near-black #0D0C0B, bone #EFE7DA, copper #B98653,
   Anton display / Oswald label / Archivo body / UnifrakturCook accent, square
   edges). This file carries the gig-poster system: gritted headlines, magazine
   tiles, reel strip, bone/dark section alternation, and the inner-page restyle.
   ========================================================================== */

:root {
	--obc-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--obc-dur: 0.5s;
	--obc-wrap: 1320px;
	--obc-header-h: 92px;
	--cu: var(--wp--preset--color--accent);
	--cu-deep: var(--wp--preset--color--accent-deep);
	/* COPPER PALETTE (lives in theme.json presets; mirrored here for reference).
	   Iteration 15 / FIX-A6 switched to a brighter, more saturated true copper.
	   NEW: accent #D0772F · accent-soft (deeper hover) #BE6B2C · accent-deep #9A5423 · on-accent #0D0C0B
	   REVERT: old copper — accent #B98653 · accent-soft #CBA074 · accent-deep #9A6A3A · on-accent #0D0C0B
	   WCAG: #D0772F text on #0D0C0B 5.92:1 (AA body); label #0D0C0B on #D0772F 5.92:1 (AA);
	         hover #BE6B2C with #0D0C0B label 4.96:1 (AA); #9A5423 text on #EFE7DA 4.67:1 (AA body),
	         on #0D0C0B 3.41:1 (AA large). Not the rejected orange #D1552B. */
	--bone: var(--wp--preset--color--bone);
	--ink: #17130d;            /* near-black text used on bone spreads */
	--line-bone: rgba(23,19,13,0.16);
	--line-dark: rgba(239,231,218,0.16);
}

/* ---- Base ------------------------------------------------------------- */
html { -webkit-text-size-adjust: 100%; }
body {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	background-color: var(--wp--preset--color--base);
	/* Grain tile: small 360px texture. WebP (~12KB) for modern browsers via
	   image-set(), with the PNG (~104KB) as the plain fallback for older ones. */
	background-image: url(../images/grain.png);
	background-image: image-set(url(../images/grain.webp) type("image/webp"), url(../images/grain.png) type("image/png"));
	background-size: 360px auto;
}
img { max-width: 100%; height: auto; display: block; }
a { transition: color var(--obc-dur) var(--obc-ease); }

::selection { background: var(--cu); color: var(--wp--preset--color--on-accent); }

:where(a, button, input, textarea, select, .wp-block-button__link):focus-visible {
	outline: none;
	box-shadow: var(--obc-ring, 0 0 0 2px #0D0C0B, 0 0 0 4px #D0772F);
	border-radius: 0;
}

:where(h1, h2, h3, .wp-block-post-title, .wp-block-query-title) { overflow-wrap: break-word; }
/* No overflow-x:clip crutch. The full-bleed bands fit the viewport by
   construction (width:100%, never 100vw), so there is nothing to hide — and an
   honest document width lets any stray wide element surface in testing. */

/* Square everything the editor might round. */
.wp-block-button__link,
.wp-block-image img,
.wp-block-cover,
.is-style-obc-card,
input, textarea, select { border-radius: 0 !important; }

/* ---- Type utilities --------------------------------------------------- */
/* Grit texture on big display headlines only — a speckle mask on the live font,
   so the text stays selectable and the glyphs stay sharp. Never on small type. */
.obc-grit {
	-webkit-mask-image: url(../images/grit.png);
	mask-image: url(../images/grit.png);
	-webkit-mask-size: 760px auto;
	mask-size: 760px auto;
	-webkit-mask-position: 30% 40%;
	mask-position: 30% 40%;
}
.obc-blackletter {
	font-family: var(--wp--preset--font-family--blackletter);
	text-transform: none;
	letter-spacing: 0;
	font-weight: 700;
}

/* Kicker: Oswald, wide-tracked uppercase, copper. Used site-wide (homepage +
   inner pages reference .obc-kicker). */
.obc-kicker,
p.obc-kicker {
	font-family: var(--wp--preset--font-family--oswald);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--cu);
	margin: 0;
	display: block;
}
.obc-kicker.is-centered { text-align: center; }

/* Eyebrow/label heading — kept semantic (h2.obc-label) for heading order. */
.wp-block-heading.obc-label {
	font-family: var(--wp--preset--font-family--oswald);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}
.obc-index {
	font-family: var(--wp--preset--font-family--oswald);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.2em;
	color: var(--wp--preset--color--dim);
	font-variant-numeric: tabular-nums;
}

/* ---- Shared layout helpers ------------------------------------------- */
/* The homepage is a stack of edge-to-edge bands living inside post-content.
   Earlier this used width:100vw + calc(50% - 50vw) margins — but WordPress's
   constrained-layout rule overrode the negative margin, so each 100vw band sat
   at the padded content-left and spilled off the right (the left-gutter / right-
   crop bug). The real fix: on the front page, strip the container's root padding
   + alignfull breakout margin (below) and make every band a plain 100%-wide
   block. No viewport units, so a scrollbar can never offset or clip them; inner
   content is re-inset by .obc-wrap / .obc-hero__inner. */
.obc-fullbleed { width: 100%; max-width: 100%; margin-inline: 0; }
.obc-fullbleed, .obc-fullbleed * { box-sizing: border-box; }
.obc-wrap { max-width: var(--obc-wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }

/* Front page: post-content holds nothing but full-bleed bands, so give it the
   whole viewport with zero horizontal padding and no alignfull breakout margin.
   The high-specificity band rule guarantees we beat core's per-child
   max-width:<content-size> / margin:auto constrained-layout styles. */
body.obc-front main.wp-block-group { padding-left: 0; padding-right: 0; }
body.obc-front main > .wp-block-post-content { max-width: none; margin-inline: 0; padding-left: 0; padding-right: 0; }
body.obc-front main > .wp-block-post-content > .obc-fullbleed { width: 100%; max-width: 100%; margin-inline: 0; }
.obc-sec { padding-block: clamp(3.5rem, 8vw, 7.5rem); }
.obc-sec--bone { background: var(--bone); color: var(--ink); }
.obc-sec--bone :is(h1,h2,h3,h4) { color: var(--ink); }
.obc-sec--dark { background: var(--wp--preset--color--base); }
/* COPPER ON BONE: #D0772F copper text is only 2.69:1 on bone — too light. Inside
   any light/bone section, redefine the copper token to accent-deep #9A5423 (4.67:1)
   so every copper TEXT element (eyebrows, labels, links, numerals) deepens. Keep
   FILLED copper controls vivid (their label is dark, so contrast is fine either way),
   and keep vivid copper for any dark card nested inside a bone band. */
.obc-sec--bone { --cu: var(--wp--preset--color--accent-deep); }
.obc-sec--bone .obc-btn,
.obc-sec--bone .wp-block-button:not(.is-style-obc-ghost) .wp-block-button__link { background: var(--wp--preset--color--accent); }
.obc-sec--bone .is-style-obc-card { --cu: var(--wp--preset--color--accent); }

/* Section head: big Anton heading with a copper underline rule. */
.obc-sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: clamp(1.5rem,4vw,3rem); margin-bottom: clamp(2rem,4vw,3.25rem); flex-wrap: wrap; }
.obc-sechead h2 { font-size: clamp(2.6rem, 7vw, 6.5rem); line-height: 0.95; margin: 0; overflow-wrap: break-word; }
.obc-sechead h2::after { content: ""; display: block; width: 110px; height: 7px; background: var(--cu); margin-top: 1rem; }
.obc-sechead p { max-width: 420px; color: var(--wp--preset--color--muted); margin: 0; }
.obc-sec--bone .obc-sechead p { color: #5c5345; }

/* Copper button used in raw-HTML homepage sections (mirrors the core button). */
.obc-btn {
	display: inline-flex; align-items: center; gap: 0.6em;
	font-family: var(--wp--preset--font-family--oswald);
	text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700;
	font-size: 0.875rem; line-height: 1; padding: 1.1em 1.9em;
	background: var(--cu); color: var(--wp--preset--color--on-accent);
	border: 0; cursor: pointer;
	transition: background var(--obc-dur) var(--obc-ease);
}
.obc-btn:hover { background: var(--wp--preset--color--accent-soft); color: var(--wp--preset--color--on-accent); }
.obc-btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.obc-btn--ghost:hover { background: transparent; color: var(--cu); box-shadow: inset 0 0 0 2px var(--cu); }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.obc-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--wp--preset--color--base) 88%, transparent);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--line-dark);
}
/* Front page: header overlays the full-bleed hero transparently. */
body.obc-front .wp-block-template-part:first-of-type { position: relative; z-index: 50; }
body.obc-front main.wp-block-group { margin-top: 0 !important; }
body.obc-front .obc-header {
	position: absolute; top: 0; left: 0; right: 0;
	background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0;
}
body.obc-front .obc-header::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 240%; z-index: -1; pointer-events: none;
	background: linear-gradient(180deg, rgba(13,12,11,0.72) 0%, rgba(13,12,11,0.3) 48%, rgba(13,12,11,0) 100%);
}
.obc-brand { line-height: 0; }
.obc-brand img, .obc-brand .wp-block-site-logo img { height: 30px; width: auto; max-width: none; display: block; }
.obc-header .wp-block-navigation { font-family: var(--wp--preset--font-family--oswald); }
.obc-header .wp-block-navigation a:where(:not(.wp-element-button)) {
	position: relative; color: var(--wp--preset--color--foreground); font-weight: 600;
}
.obc-header .wp-block-navigation a:where(:not(.wp-element-button)):hover,
.obc-header .wp-block-navigation .current-menu-item > a { color: var(--cu); }
.obc-header .wp-block-navigation a:where(:not(.wp-element-button))::after {
	content: ""; position: absolute; left: 0; bottom: -0.4em; width: 100%; height: 2px;
	background: var(--cu); transform: scaleX(0); transform-origin: left;
	transition: transform var(--obc-dur) var(--obc-ease);
}
.obc-header .wp-block-navigation a:where(:not(.wp-element-button)):hover::after { transform: scaleX(1); }
.obc-header .obc-header__cta .wp-block-button__link { padding: 0.8em 1.4em; }
@media (max-width: 760px) { .obc-header .obc-header__cta { display: none !important; } }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--base) !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: var(--wp--preset--spacing--40); }

/* ==========================================================================
   HOMEPAGE — HERO
   ========================================================================== */
.obc-hero { position: relative; isolation: isolate; overflow: clip; min-height: clamp(640px, 100svh, 980px); color: var(--wp--preset--color--foreground); background: #100f0d; display: flex; flex-direction: column; justify-content: flex-end; }
.obc-hero__photo { position: absolute; inset: 0; z-index: -2; }
.obc-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.obc-hero::before { /* left + bottom scrim, bright at right */
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(13,12,11,0.9) 0%, rgba(13,12,11,0.58) 42%, rgba(13,12,11,0.08) 74%, rgba(13,12,11,0) 92%),
		linear-gradient(0deg, rgba(13,12,11,0.78) 0%, rgba(13,12,11,0.12) 42%, rgba(13,12,11,0) 66%);
}
.obc-hero__inner { width: 100%; max-width: var(--obc-wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); padding-top: calc(var(--obc-header-h) + clamp(2rem, 8vh, 5rem)); padding-bottom: clamp(2.5rem, 7vh, 5rem); position: relative; }
.obc-hero__kick { color: var(--cu); margin: 0 0 1.25rem; }
/* Steeper fluid curve than before: still tops out at 9.5rem (1440px look is
   unchanged, preferred reaches the cap at ~1433px) but drops faster through the
   820–1024 band so every word fits — ~6.4rem @1024, ~4.9rem @820, ~2.75rem @390. */
.obc-hero h1 { font-size: clamp(2.75rem, 12vw - 1.25rem, 9.5rem); line-height: 0.95; margin: 0; letter-spacing: 0.004em; color: #f3ece0; overflow-wrap: break-word; }
.obc-hero__bar { display: inline-block; font-family: var(--wp--preset--font-family--editorial); text-transform: uppercase; background: var(--cu); color: var(--wp--preset--color--on-accent); font-size: clamp(1.4rem, 3.2vw, 2.9rem); line-height: 1; padding: 0.14em 0.3em 0.08em; margin-top: 1.1rem; transform: rotate(-1.2deg); }
.obc-hero__sub { max-width: 520px; font-size: 1.1rem; color: #e6ddcf; margin: 1.6rem 0 2rem; line-height: 1.55; }
.obc-hero__cta { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.obc-hero__caption { position: absolute; right: clamp(1.25rem,5vw,3rem); bottom: 1.4rem; font-family: var(--wp--preset--font-family--oswald); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; color: rgba(239,231,218,0.72); z-index: 1; }

/* ==========================================================================
   HOMEPAGE — INTRO (bone spread)
   ========================================================================== */
.obc-intro .obc-wrap { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.obc-intro__lede { font-size: clamp(1.1rem, 1.7vw, 1.3rem); max-width: 540px; margin: 0 0 1.5rem; color: #3f392f; }
.obc-intro h2 { font-size: clamp(2.8rem, 6.6vw, 5.8rem); line-height: 1; margin: 0 0 2rem; overflow-wrap: break-word; }
/* OWN matches its headline siblings (ink on the bone spread) — not copper. */
.obc-intro h2 .obc-own { color: inherit; }
.obc-intro__card { position: relative; aspect-ratio: 4/5; outline: 1px solid var(--ink); outline-offset: 10px; }
.obc-intro__card img { width: 100%; height: 100%; object-fit: cover; }
.obc-intro__tag { position: absolute; left: 16px; bottom: 16px; background: var(--ink); color: var(--bone); font-family: var(--wp--preset--font-family--oswald); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 600; padding: 0.55em 0.8em; }

/* ==========================================================================
   HOMEPAGE — LOGO BAND
   ========================================================================== */
.obc-logoband { border-block: 1px solid var(--line-dark); padding-block: clamp(2.2rem, 4vw, 3rem); text-align: center; }
.obc-logoband .obc-kicker { margin-bottom: 1.8rem; }
/* Centered, wrapping logo row. The sources are transparent white knockouts
   (logos-mono/*-w.png) that already render as single-colour bone marks — so NO
   grayscale/brightness filter (a filter is what turned a boxed raster into a
   white rectangle). Optical per-logo heights via --lh balance wide wordmarks
   against compact emblems at a consistent baseline, with no width cap that
   would otherwise shrink tall logos unevenly. */
.obc-logoband__row { display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 3.25rem) clamp(2rem, 5vw, 4rem); flex-wrap: wrap; }
.obc-logoband__row img { height: var(--lh, 36px); width: auto; max-width: 100%; object-fit: contain; opacity: 0.82; transition: opacity var(--obc-dur) var(--obc-ease); }
.obc-logoband__row img:hover { opacity: 1; }
.obc-logoband__row img[alt="EPM Performance"]            { --lh: 40px; }
.obc-logoband__row img[alt="Slavens Racing"]             { --lh: 30px; }
.obc-logoband__row img[alt="FunnelWeb Filter"]           { --lh: 52px; }
.obc-logoband__row img[alt="Fantic Motor USA"]           { --lh: 26px; } /* wide FANTIC wordmark (HNIC 11-14: lone F did not read as Fantic) */
.obc-logoband__row img[alt="Lectron"]                    { --lh: 34px; }
.obc-logoband__row img[alt="Green Chile Adventure Gear"] { --lh: 34px; } /* A15 horizontal lockup */
.obc-logoband__row img[alt="JHL USA"]                    { --lh: 30px; } /* A15 horizontal lockup */
.obc-logoband__row img[alt="InnTeck USA"]                { --lh: 32px; }
.obc-logoband__row img[alt="E-Line"]                     { --lh: 34px; }
/* Frio Canyon's only mark is a detailed full-colour crest (shield, bike, Texas
   flag, arched wordmark) that cannot reduce to a legible single-colour knockout
   at strip scale, so it keeps the typographic fallback (bone, editorial caps). */
.obc-logoband__row .obc-txt { font-family: var(--wp--preset--font-family--editorial); text-transform: uppercase; color: var(--bone); font-size: clamp(1.2rem, 2.2vw, 1.5rem); letter-spacing: 0.01em; opacity: 0.8; white-space: nowrap; }

/* ==========================================================================
   HOMEPAGE — REEL
   ========================================================================== */
.obc-reel__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.1rem; }
.obc-reel__side { display: grid; grid-template-rows: 1fr 1fr; gap: 1.1rem; }
.obc-vid { position: relative; overflow: clip; background: #000; border: 1px solid var(--line-dark); min-height: 260px; }
.obc-reel__grid > .obc-vid { min-height: 620px; }
.obc-vid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--obc-ease); }
.obc-vid:hover img { transform: scale(1.04); }
.obc-vid::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(13,12,11,0.9) 0%, rgba(13,12,11,0.15) 46%, rgba(13,12,11,0) 72%); }
.obc-vid > * { position: relative; z-index: 2; }
.obc-vid__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 84px; height: 84px; border-radius: 50%; background: var(--cu); display: grid; place-items: center; z-index: 2; }
.obc-vid__play::after { content: ""; border-left: 22px solid var(--wp--preset--color--on-accent); border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.obc-vid--sm .obc-vid__play { width: 56px; height: 56px; }
.obc-vid--sm .obc-vid__play::after { border-left-width: 15px; border-top-width: 9px; border-bottom-width: 9px; }
.obc-vid__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 4rem 1.6rem 1.4rem; }
.obc-vid__meta .obc-kicker { margin-bottom: 0.4rem; }
.obc-vid__meta h3 { font-size: clamp(1.5rem, 2.4vw, 2.6rem); line-height: 1; margin: 0; color: var(--wp--preset--color--foreground); }
.obc-vid--sm .obc-vid__meta h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }

/* ==========================================================================
   HOMEPAGE — WORK TILES (magazine grid)
   ========================================================================== */
.obc-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.1rem; }
.obc-tile { position: relative; overflow: clip; min-height: 500px; color: var(--wp--preset--color--foreground); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1.4rem, 2vw, 1.9rem); border: 1px solid var(--line-dark); transition: border-color var(--obc-dur) var(--obc-ease); }
.obc-tile:hover { border-color: var(--wp--preset--color--slate); }
.obc-tile--w3 { grid-column: span 3; min-height: 600px; }
.obc-tile--w2 { grid-column: span 2; }
.obc-tile__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--obc-ease); }
.obc-tile:hover .obc-tile__bg { transform: scale(1.05); }
.obc-tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(13,12,11,0.5) 0%, rgba(13,12,11,0) 32%, rgba(13,12,11,0) 46%, rgba(13,12,11,0.88) 100%); }
.obc-tile > *:not(.obc-tile__bg) { position: relative; z-index: 2; }
.obc-tile__logo { position: absolute; top: clamp(1.4rem,2vw,1.9rem); left: clamp(1.4rem,2vw,1.9rem); height: 42px; width: auto; max-width: 54%; object-fit: contain; object-position: left top; }
.obc-tile__logo.is-big { height: 60px; }
.obc-tile__arrow { position: absolute; top: clamp(1.4rem,2vw,1.9rem); right: clamp(1.4rem,2vw,1.9rem); width: 46px; height: 46px; border-radius: 50%; background: var(--cu); color: var(--wp--preset--color--on-accent); display: grid; place-items: center; font-size: 1.3rem; transition: transform var(--obc-dur) var(--obc-ease); }
.obc-tile:hover .obc-tile__arrow { transform: translate(3px,-3px); }
.obc-tile__h { font-family: var(--wp--preset--font-family--editorial); text-transform: uppercase; font-size: clamp(2rem, 2.6vw, 3.4rem); line-height: 0.95; margin: 0; color: var(--wp--preset--color--foreground); overflow-wrap: break-word; }
.obc-tile--w2 .obc-tile__h { font-size: clamp(1.8rem, 2.2vw, 2.6rem); }
.obc-tile__svc { font-family: var(--wp--preset--font-family--oswald); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 600; margin-top: 0.8rem; color: rgba(239,231,218,0.92); }
.obc-tile--solid { border: 1px solid var(--line-dark); }
.obc-tile--solid::before { display: none; }
.obc-tile--copper { background: var(--cu); color: var(--wp--preset--color--on-accent); }
.obc-tile--copper .obc-tile__h, .obc-tile--copper .obc-tile__svc { color: var(--wp--preset--color--on-accent); }
.obc-tile--copper .obc-tile__svc { opacity: 0.8; }
.obc-tile--copper .obc-tile__arrow { background: var(--wp--preset--color--on-accent); color: var(--cu); }
.obc-tile--dark { background: var(--wp--preset--color--surface); }
.obc-tile__name { font-family: var(--wp--preset--font-family--editorial); text-transform: uppercase; font-size: 2.4rem; line-height: 0.95; position: absolute; top: clamp(1.4rem,2vw,1.9rem); left: clamp(1.4rem,2vw,1.9rem); }
.obc-tile--copper .obc-tile__name { color: var(--wp--preset--color--on-accent); }
/* Archive tile: a 2x2 collage of case stills behind a flat dark veil so the
   white label/headline stay legible (the base ::before only darkens top+bottom). */
.obc-tile__collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1px; }
.obc-tile__collage img { width: 100%; height: 100%; object-fit: cover; }
.obc-tile--archive::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(13,12,11,0.58); }

/* ==========================================================================
   HOMEPAGE — WHOLE PROGRAM (bone, services grid)
   ========================================================================== */
.obc-program { text-align: center; }
.obc-program__eyebrow { font-family: var(--wp--preset--font-family--oswald); text-transform: uppercase; letter-spacing: 0.18em; font-weight: 600; font-size: 0.85rem; color: var(--cu-deep); display: block; margin-bottom: 0.6rem; }
.obc-program h2 { font-size: clamp(3.2rem, 13vw, 11rem); line-height: 0.92; margin: 0; overflow-wrap: break-word; }
.obc-program__intro { max-width: 640px; margin: 1.6rem auto clamp(2.5rem,5vw,3.5rem); color: #4a4336; font-size: 1.05rem; }
.obc-proggrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: left; border-top: 2px solid var(--ink); }
.obc-progcell { padding: 1.6rem 1.4rem 2rem; border-bottom: 2px solid var(--ink); border-right: 2px solid var(--ink); }
.obc-progcell:nth-child(4n) { border-right: 0; }
.obc-progcell .n { font-family: var(--wp--preset--font-family--oswald); font-size: 0.8rem; letter-spacing: 0.16em; color: #6B6359; font-weight: 600; }
.obc-progcell h3 { font-family: var(--wp--preset--font-family--editorial); text-transform: uppercase; font-size: clamp(1.4rem,2vw,2rem); line-height: 1; margin: 0.8rem 0 0.5rem; color: var(--ink); overflow-wrap: break-word; }
.obc-progcell p { font-size: 0.92rem; color: #5a5243; margin: 0; }

/* ==========================================================================
   HOMEPAGE — WEB CARD (stores that sell parts)
   ========================================================================== */
.obc-webcard__inner { background: var(--wp--preset--color--surface); border: 1px solid var(--line-dark); padding: clamp(1.75rem, 4vw, 4.5rem); display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.obc-webcard h2 { font-size: clamp(2.6rem, 5vw, 5.5rem); line-height: 0.95; margin: 0.6rem 0 1.25rem; overflow-wrap: break-word; }
.obc-webcard h2 .hl { color: var(--cu); }
.obc-webcard p { color: var(--wp--preset--color--muted); margin: 0 0 1.75rem; max-width: 420px; }
.obc-browser { overflow: clip; background: #fff; color: #111; box-shadow: 0 40px 80px rgba(0,0,0,0.5); }
.obc-browser__chrome { height: 34px; background: #e6e6e6; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.obc-browser__chrome i { width: 11px; height: 11px; border-radius: 50%; background: #c9c9c9; display: block; }
.obc-browser__chrome span { margin-left: 14px; background: #fff; height: 20px; flex: 1; max-width: 300px; font-size: 11px; line-height: 20px; padding-left: 10px; color: #666; font-family: var(--wp--preset--font-family--grotesk); }
.obc-shop { position: relative; height: 300px; }
.obc-shop img { width: 100%; height: 100%; object-fit: cover; }
.obc-shop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.55), rgba(0,0,0,0) 60%); }
.obc-shop .t { position: absolute; left: 26px; top: 40px; color: #fff; font-family: var(--wp--preset--font-family--editorial); text-transform: uppercase; font-size: clamp(2rem,4vw,3.4rem); line-height: 0.95; z-index: 1; }
.obc-ymm { display: flex; gap: 8px; padding: 14px; background: #111; }
.obc-ymm div { flex: 1; background: #fff; padding: 9px 11px; font-size: 12px; color: #555; display: flex; justify-content: space-between; font-family: var(--wp--preset--font-family--grotesk); }
.obc-ymm b { flex: 0 0 108px; background: var(--cu); color: var(--wp--preset--color--on-accent); font-family: var(--wp--preset--font-family--oswald); text-transform: uppercase; font-size: 12px; letter-spacing: 0.08em; display: grid; place-items: center; }
.obc-prods { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 14px; background: #f3f3f3; }
.obc-prods div { background: #fff; padding: 8px; }
.obc-prods img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.obc-prods span { display: block; height: 7px; background: #ddd; margin: 8px 0 5px; width: 80%; }
.obc-prods em { display: block; height: 7px; background: #bbb; width: 35%; }

/* ==========================================================================
   HOMEPAGE — WHY BRANDS HIRE US
   ========================================================================== */
.obc-why__eyebrow { font-family: var(--wp--preset--font-family--blackletter); font-size: clamp(1.4rem,2.4vw,2rem); color: var(--cu); display: block; text-align: center; margin-bottom: 0.3rem; }
.obc-why h2 { text-align: center; font-size: clamp(2.6rem, 7vw, 6.5rem); line-height: 0.95; margin: 0 0 clamp(2.5rem,5vw,4rem); overflow: visible; overflow-wrap: break-word; }
.obc-whygrid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(1.5rem,3vw,2.5rem); }
/* line-height 0.75 shrinks the content box below the glyph's ink box, so the
   ascenders overshoot the top AND the round-bottomed digits (3, the base of 2,
   etc.) overshoot the baseline at the bottom; the grit mask (default
   mask-clip:border-box) then clips both, flattening top and bottom. Extend the
   box symmetrically with padding-block so the mask covers the full ink box, and
   cancel the growth with an equal negative margin-block so the numeral's size,
   position and the gaps to the heading above/below are unchanged. */
.obc-whygrid .num { font-family: var(--wp--preset--font-family--editorial); font-size: clamp(5rem,9vw,11rem); line-height: 0.75; padding-block: 0.34em; margin-block: -0.34em; color: var(--cu); -webkit-mask-image: url(../images/grit.png); mask-image: url(../images/grit.png); -webkit-mask-size: 520px; mask-size: 520px; }
.obc-whygrid h3 { font-family: var(--wp--preset--font-family--editorial); text-transform: uppercase; font-size: clamp(1.4rem,2vw,2.1rem); line-height: 1; margin: 1rem 0 0.6rem; overflow-wrap: break-word; }
.obc-whygrid p { color: var(--wp--preset--color--muted); font-size: 0.95rem; margin: 0; }

/* ==========================================================================
   HOMEPAGE — INSIGHTS (bone)
   ========================================================================== */
.obc-posts { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr); gap: clamp(1.25rem,2.4vw,1.75rem); }
.obc-post .im { aspect-ratio: 4/3; overflow: clip; margin-bottom: 1.25rem; }
.obc-post:first-child .im { aspect-ratio: 4/3.5; }
.obc-post .im img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--obc-ease); }
.obc-post:hover .im img { transform: scale(1.04); }
.obc-post .cat { font-family: var(--wp--preset--font-family--oswald); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: var(--cu-deep); }
.obc-post h3 { font-family: var(--wp--preset--font-family--editorial); text-transform: uppercase; font-size: clamp(1.5rem,2vw,2rem); line-height: 1; margin: 0.6rem 0; color: var(--ink); overflow-wrap: break-word; }
.obc-post:first-child h3 { font-size: clamp(1.8rem,2.6vw,2.7rem); }
.obc-post p { color: #5a5243; font-size: 0.95rem; margin: 0; }
.obc-post .rt { font-family: var(--wp--preset--font-family--oswald); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; color: #6B6359; margin-top: 0.75rem; }
.obc-post a.cover { color: inherit; display: block; }

/* ==========================================================================
   HOMEPAGE — QUOTE (word from the paddock)
   ========================================================================== */
.obc-quote .obc-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: start; }
.obc-quote .obc-kicker { margin-bottom: 1.5rem; }
.obc-quote blockquote { font-family: var(--wp--preset--font-family--editorial); text-transform: uppercase; font-size: clamp(2rem, 4.2vw, 4rem); line-height: 1; margin: 0; color: #f3ece0; overflow-wrap: break-word; }
.obc-quote blockquote::first-letter { color: var(--cu); }
.obc-quote cite { display: block; margin-top: 1.5rem; font-family: var(--wp--preset--font-family--oswald); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.9rem; font-style: normal; color: var(--cu); }
.obc-quote__others { display: grid; gap: 1.25rem; }
.obc-quote__others div { background: var(--wp--preset--color--surface); border-left: 4px solid var(--cu); padding: 1.6rem; color: var(--wp--preset--color--foreground); font-size: 1rem; }
.obc-quote__others b { display: block; margin-top: 0.9rem; font-family: var(--wp--preset--font-family--oswald); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; color: var(--wp--preset--color--muted); font-weight: 600; }

/* ==========================================================================
   HOMEPAGE — CREATORS BAND
   ========================================================================== */
.obc-creators { position: relative; overflow: clip; min-height: 520px; display: flex; align-items: center; color: var(--wp--preset--color--foreground); }
.obc-creators__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.obc-creators::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,12,11,0.92) 0%, rgba(13,12,11,0.5) 55%, rgba(13,12,11,0.2) 100%); }
.obc-creators .obc-kicker { margin-bottom: 0.9rem; }
.obc-creators h2 { font-size: clamp(2.8rem,8vw,7rem); line-height: 0.95; margin: 0 0 1.25rem; max-width: 820px; overflow-wrap: break-word; }
.obc-creators p { max-width: 540px; color: #e6ddcf; margin: 0 0 1.75rem; font-size: 1.1rem; }

/* ==========================================================================
   HOMEPAGE — MARQUEE
   ========================================================================== */
.obc-marq { overflow: hidden; white-space: nowrap; border-top: 1px solid var(--line-dark); background: var(--wp--preset--color--base); padding-block: clamp(1.5rem,2.5vw,2.2rem); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%); }
.obc-marq__track { display: inline-flex; align-items: center; font-family: var(--wp--preset--font-family--editorial); text-transform: uppercase; font-size: clamp(2.4rem,6vw,6rem); line-height: 1; color: var(--wp--preset--color--foreground); animation: obc-marq 28s linear infinite; }
.obc-marq__track .w { padding-inline: clamp(1rem,2vw,2rem); }
.obc-marq__track .dot { width: 0.26em; height: 0.26em; background: var(--cu); transform: rotate(45deg); display: inline-block; flex: 0 0 auto; }
@keyframes obc-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   FOOTER (copper color block)
   ========================================================================== */
.obc-footer { background: var(--cu); color: var(--wp--preset--color--on-accent); border-top: 0; }
.obc-footer :is(h2,h3,h4) { color: var(--wp--preset--color--on-accent); }
.obc-footer h2 { font-size: clamp(3rem, 8vw, 7rem); line-height: 0.95; overflow-wrap: break-word; }
.obc-footer a { color: #2a1f12; }
.obc-footer a:hover { color: #000; }
.obc-footer .obc-label { color: #0D0C0B; }
.obc-footer .wp-block-button__link { background: var(--wp--preset--color--base); color: var(--wp--preset--color--foreground); }
.obc-footer .wp-block-button__link:hover { background: #000; color: var(--bone); }
.obc-footer__logo { line-height: 0; }
.obc-footer__logo img { height: 40px; width: auto; max-width: none; filter: brightness(0); }
.obc-footer__links { list-style: none; margin: 0; padding: 0; }
.obc-footer__links li { padding: 0; border: 0; display: block; }
.obc-footer .is-style-obc-hairline-top { border-top: 1px solid rgba(13,12,11,0.25); }
.obc-footer__flourish { font-family: var(--wp--preset--font-family--blackletter); font-size: 1.1rem; color: #2a1f12; }

/* ==========================================================================
   INNER PAGES — page hero (service / about / contact)
   ========================================================================== */
.obc-page-hero { position: relative; isolation: isolate; overflow: clip; min-height: clamp(360px, 54vh, 540px); display: flex; flex-direction: column; justify-content: center; background-position: center; background-size: cover; background-repeat: no-repeat; }
main.wp-block-group:has(> .wp-block-post-content > .obc-page-hero:first-child),
main.wp-block-group:has(> .obc-page-hero:first-child),
main.wp-block-group:has(> .wp-block-cover.obc-case-hero:first-child) { margin-top: 0 !important; }
.obc-page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(90deg, rgba(13,12,11,0.92) 0%, rgba(13,12,11,0.66) 36%, rgba(13,12,11,0.26) 68%, rgba(13,12,11,0.05) 100%), linear-gradient(0deg, rgba(13,12,11,0.7) 0%, rgba(13,12,11,0.1) 42%, rgba(13,12,11,0) 66%); }
.obc-page-hero > * { position: relative; z-index: 1; }

/* ==========================================================================
   INNER — WORK TILES (cover tiles on the /work/ archive)
   ========================================================================== */
.wp-block-cover.obc-work-tile { overflow: clip; border: 1px solid var(--line-dark); transition: border-color var(--obc-dur) var(--obc-ease); flex-direction: row; justify-content: flex-start; align-items: flex-end; padding: clamp(1.1rem, 2.2vw, 1.75rem); }
.wp-block-cover.obc-work-tile:hover, .wp-block-cover.obc-work-tile:focus-within { border-color: var(--wp--preset--color--slate); }
.wp-block-cover.obc-work-tile .wp-block-cover__image-background { transition: transform 1s var(--obc-ease); filter: saturate(1.04) brightness(1.03); }
.wp-block-cover.obc-work-tile:hover .wp-block-cover__image-background, .wp-block-cover.obc-work-tile:focus-within .wp-block-cover__image-background { transform: scale(1.05); }
.wp-block-cover.obc-work-tile .wp-block-cover__background { background: linear-gradient(0deg, rgba(13,12,11,0.86) 0%, rgba(13,12,11,0.44) 26%, rgba(13,12,11,0.04) 58%, rgba(13,12,11,0) 100%) !important; opacity: 1 !important; }
.wp-block-cover.obc-work-tile > .wp-block-cover__inner-container { width: auto; max-width: 100%; margin: 0; text-align: left; }
.obc-work-tile .wp-block-cover__inner-container { gap: 0.4rem; }
.obc-work-tile .obc-eyebrow { margin: 0; }
.obc-work-tile h3, .obc-work-tile .wp-block-post-title { font-family: var(--wp--preset--font-family--editorial); text-transform: uppercase; line-height: 0.95; margin: 0; }
.obc-work-tile h3 a, .obc-work-tile .wp-block-post-title a { color: var(--wp--preset--color--foreground); }
/* Story line under each archive card title. Clamped to 3 lines so cards stay even. */
.obc-work-tile .obc-tile-excerpt { margin: 0.15rem 0 0; max-width: 48ch; }
.obc-work-tile .obc-tile-excerpt p { margin: 0; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.obc-work-tile .obc-tile-excerpt a { display: none; }

/* Case-study hero + post cards */
.obc-case-hero .wp-block-cover__image-background { filter: saturate(1.04) brightness(1.03); }
.obc-case-hero > .wp-block-cover__background { background: linear-gradient(90deg, rgba(13,12,11,0.82) 0%, rgba(13,12,11,0.4) 40%, rgba(13,12,11,0) 72%), linear-gradient(0deg, rgba(13,12,11,0.72) 0%, rgba(13,12,11,0) 48%) !important; opacity: 1 !important; }
/* FIX-A9: line the case-hero text (kicker + h1) up with the site's main content
   inset. WP's root-padding-aware alignfull/flex-cover layout left the headline flush
   (~17px) at 1440 on every single-work page. Give the cover's inner-container the
   same wrap box as .obc-hero__inner / .obc-wrap (--obc-wrap + clamp(1.25rem,5vw,3rem))
   so the h1 left-x matches the homepage hero headline at 1440 / 1024 / 390.
   - Zero the cover's own inline padding: that 16-17px cover gutter gets absorbed by
     centering at wide widths but ADDS to the inset once the inner-container fills the
     row (e.g. 390), which is what threw the narrow-width match off.
   - Inner-container is a content-box flex item that grows to fill, so max-width was
     capping only its content box (border-box ballooned past --obc-wrap); force
     border-box + flex-grow:0 so the cap and margin-auto centering actually apply.
   Photo stays full-bleed (cover negative margins + absolute background untouched);
   only the text column moves. Higher-specificity selector so it also wins over the
   sub-1024 full-bleed gutter-restore rule above. */
main > .wp-block-cover.obc-case-hero.alignfull { padding-inline: 0; }
main > .wp-block-cover.obc-case-hero.alignfull > .wp-block-cover__inner-container {
	box-sizing: border-box;
	flex-grow: 0;
	width: 100%;
	max-width: var(--obc-wrap);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 5vw, 3rem);
}
main > .wp-block-cover.obc-case-hero.alignfull > .wp-block-cover__inner-container > .wp-block-group.alignwide {
	max-width: 900px;      /* keep the display-headline measure */
	margin-inline: 0;      /* sit flush at the wrap's content edge, not centered */
	padding-inline: 0;
	width: 100%;
}
.obc-post-card { overflow: clip; }
.obc-post-card .wp-block-post-featured-image { margin: 0; overflow: clip; }
.obc-post-card .wp-block-post-featured-image img { transition: transform 1s var(--obc-ease); }
.obc-post-card:hover .wp-block-post-featured-image img { transform: scale(1.04); }
.obc-post-card .wp-block-post-title a { color: var(--wp--preset--color--foreground); }
.obc-post-card:hover .wp-block-post-title a { color: var(--cu); }

/* ==========================================================================
   BLOCK STYLES
   ========================================================================== */
.wp-block-button.is-style-obc-ghost .wp-block-button__link { background: transparent; color: var(--wp--preset--color--foreground); box-shadow: inset 0 0 0 2px var(--line-dark); }
.wp-block-button.is-style-obc-ghost .wp-block-button__link:hover, .wp-block-button.is-style-obc-ghost .wp-block-button__link:focus { background: transparent; color: var(--cu); box-shadow: inset 0 0 0 2px var(--cu); }
/* On bone spreads the ghost outline needs ink, not bone. */
.obc-sec--bone .wp-block-button.is-style-obc-ghost .wp-block-button__link { color: var(--ink); box-shadow: inset 0 0 0 2px var(--line-bone); }
.obc-sec--bone .wp-block-button.is-style-obc-ghost .wp-block-button__link:hover { color: var(--cu-deep); box-shadow: inset 0 0 0 2px var(--cu-deep); }

.wp-block-group.is-style-obc-card { background: var(--wp--preset--color--surface); border: 1px solid var(--line-dark); transition: border-color var(--obc-dur) var(--obc-ease), background var(--obc-dur) var(--obc-ease); }
.wp-block-group.is-style-obc-card:hover { border-color: var(--wp--preset--color--slate); background: var(--wp--preset--color--surface-2); }
.wp-block-column > .wp-block-group.is-style-obc-card { height: 100%; }
@media (max-width: 781px) { .wp-block-column > .wp-block-group.is-style-obc-card { height: auto; } }

.wp-block-group.is-style-obc-hairline-top { border-top: 1px solid var(--line-dark); }
.wp-block-image.is-style-obc-frame img { border: 1px solid var(--line-dark); filter: saturate(0.96) contrast(1.02); }

.wp-block-columns.is-style-obc-divided { gap: 0; }
.wp-block-columns.is-style-obc-divided > .wp-block-column { padding: clamp(1.25rem, 3vw, 2.5rem); border-left: 1px solid var(--line-dark); }
.wp-block-columns.is-style-obc-divided > .wp-block-column:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 781px) {
	.wp-block-columns.is-style-obc-divided > .wp-block-column { border-left: 0; border-top: 1px solid var(--line-dark); padding-left: 0; padding-right: 0; }
	.wp-block-columns.is-style-obc-divided > .wp-block-column:first-child { border-top: 0; }
}

/* Services list cards (service index / homepage service section) */
.obc-service { display: flex; flex-direction: column; gap: 0.75rem; padding: clamp(1.5rem, 3vw, 2.25rem); height: 100%; }
.obc-service .obc-service__num { font-family: var(--wp--preset--font-family--oswald); font-size: var(--wp--preset--font-size--x-small); letter-spacing: 0.2em; color: var(--wp--preset--color--dim); font-variant-numeric: tabular-nums; font-weight: 600; }
.obc-service h3 { font-size: var(--wp--preset--font-size--large); }
.obc-service-row h2 a { color: var(--wp--preset--color--foreground); }
.obc-service-row:hover h2 a { color: var(--cu); }

/* ==========================================================================
   FULL-BLEED GUTTER RESTORE (sub-wide screens)
   ========================================================================== */
@media (max-width: 1023px) {
	.wp-block-post-content > .wp-block-group.alignfull, main > .wp-block-group.alignfull {
		padding-left: var(--wp--style--root--padding-left, clamp(1.25rem, 5vw, 4rem));
		padding-right: var(--wp--style--root--padding-right, clamp(1.25rem, 5vw, 4rem));
	}
	.wp-block-post-content > .wp-block-cover.alignfull > .wp-block-cover__inner-container,
	main > .wp-block-cover.alignfull > .wp-block-cover__inner-container {
		padding-left: var(--wp--style--root--padding-left, clamp(1.25rem, 5vw, 4rem));
		padding-right: var(--wp--style--root--padding-right, clamp(1.25rem, 5vw, 4rem));
	}
}

/* ==========================================================================
   TRUSTED-BY (inner clients pattern) + quotes + forms + search + galleries
   ========================================================================== */
.obc-section--clients { border-block: 1px solid var(--line-dark); }
.obc-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 3.4vw, 3rem) clamp(1.75rem, 3.6vw, 3.25rem); margin-top: var(--wp--preset--spacing--40); }
.obc-logos img { height: 44px; width: auto; max-width: 190px; object-fit: contain; opacity: 0.86; filter: grayscale(1) brightness(1.3); transition: opacity var(--obc-dur) var(--obc-ease); }
.obc-logos img:hover { opacity: 1; }
.obc-logos img[alt="Fantic Motor USA"] { height: 26px; }
.obc-logos img[alt="Slavens Racing"] { height: 34px; }
.obc-client-roster { max-width: 880px; margin-inline: auto; opacity: 0.9; }

blockquote.wp-block-quote, .obc-testimonial { font-family: var(--wp--preset--font-family--grotesk); font-size: var(--wp--preset--font-size--large); line-height: 1.45; color: var(--wp--preset--color--foreground); }
.obc-testimonial cite, .wp-block-quote cite { display: block; margin-top: 1rem; font-family: var(--wp--preset--font-family--oswald); font-size: var(--wp--preset--font-size--x-small); font-style: normal; text-transform: uppercase; letter-spacing: 0.16em; color: var(--wp--preset--color--muted); font-weight: 600; }

.obc-meta-k { font-family: var(--wp--preset--font-family--oswald); font-size: var(--wp--preset--font-size--x-small); font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--wp--preset--color--dim); margin: 0 0 0.4rem; }
.obc-meta-v { margin: 0; color: var(--wp--preset--color--foreground); }

.obc-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(0.75rem, 1.8vw, 1.25rem); margin: var(--wp--preset--spacing--40) 0; }
.obc-gallery .obc-shot { margin: 0; }
.obc-gallery .obc-shot img { display: block; width: 100%; height: auto; aspect-ratio: 14 / 9; object-fit: cover; border: 1px solid var(--line-dark); filter: saturate(0.98); }
.obc-gallery .obc-shot figcaption { margin-top: 0.6rem; font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--dim); font-family: var(--wp--preset--font-family--oswald); letter-spacing: 0.06em; }
@media (max-width: 600px) { .obc-gallery { grid-template-columns: 1fr; } }

.obc-eyebrow-list { list-style: none; margin: 0; padding: 0; }
/* Label/value rows. Hardened so a long value can never push past the viewport:
   wrap to the next line, let flex items shrink, and break overlong tokens. */
.obc-eyebrow-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 1rem; padding: 1rem 0; border-top: 1px solid var(--line-dark); }
.obc-eyebrow-list li > * { min-width: 0; overflow-wrap: anywhere; }

/* ---- Tables (core block) --------------------------------------------- */
/* Posts render on the near-black base; core's is-style-stripes paints a
   near-white odd-row fill (#f0f0f0) that hid the bone body text. Repaint the
   stripe and borders in theme colours, and keep plain (unstriped) tables and
   the figure wrapper legible too. */
.wp-block-table, figure.wp-block-table { color: var(--wp--preset--color--foreground); }
.wp-block-table table { width: 100%; border-collapse: collapse; }
.wp-block-table th, .wp-block-table td { padding: 0.65rem 0.9rem; border: 1px solid var(--line-dark); text-align: left; vertical-align: top; }
.wp-block-table thead th, .wp-block-table th { background-color: rgba(239,231,218,0.10); color: var(--wp--preset--color--foreground); font-family: var(--wp--preset--font-family--oswald); letter-spacing: 0.04em; font-weight: 600; }
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background-color: rgba(239,231,218,0.06); }
.wp-block-table.is-style-stripes th, .wp-block-table.is-style-stripes td { border-color: var(--line-dark); }
.wp-block-table figcaption { color: var(--wp--preset--color--dim); font-family: var(--wp--preset--font-family--oswald); letter-spacing: 0.04em; }
/* Bone-background spreads flip tables to ink text on bone hairlines. */
.obc-sec--bone .wp-block-table, .obc-sec--bone figure.wp-block-table { color: var(--ink); }
.obc-sec--bone .wp-block-table th, .obc-sec--bone .wp-block-table td { border-color: var(--line-bone); }
.obc-sec--bone .wp-block-table thead th, .obc-sec--bone .wp-block-table th { background-color: rgba(23,19,13,0.06); color: var(--ink); }
.obc-sec--bone .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background-color: rgba(23,19,13,0.04); }

/* Contact form (obc-core renders .obc-form) */
.obc-form { display: grid; gap: 1.1rem; max-width: 620px; }
.obc-form .obc-field { display: grid; gap: 0.45rem; }
.obc-form label { font-family: var(--wp--preset--font-family--oswald); font-size: var(--wp--preset--font-size--x-small); text-transform: uppercase; letter-spacing: 0.16em; color: var(--wp--preset--color--muted); font-weight: 600; }
.obc-form input, .obc-form textarea, .obc-form select { box-sizing: border-box; width: 100%; background: var(--wp--preset--color--surface); border: 1px solid var(--line-dark); color: var(--wp--preset--color--foreground); font: inherit; font-size: var(--wp--preset--font-size--small); padding: 0.85em 1em; transition: border-color var(--obc-dur) var(--obc-ease); }
.obc-form input:focus, .obc-form textarea:focus, .obc-form select:focus { outline: none; border-color: var(--cu); }
.obc-form textarea { min-height: 150px; resize: vertical; }
.obc-form .obc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.obc-form button[type="submit"] { justify-self: start; background: var(--cu); color: var(--wp--preset--color--on-accent); border: 0; font-family: var(--wp--preset--font-family--oswald); font-size: var(--wp--preset--font-size--x-small); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 1.05em 1.9em; cursor: pointer; transition: background var(--obc-dur) var(--obc-ease); }
.obc-form button[type="submit"]:hover { background: var(--wp--preset--color--accent-soft); }
.obc-form .obc-consent { font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--dim); }
.obc-notice { border: 1px solid var(--line-dark); border-left: 3px solid var(--cu); background: var(--wp--preset--color--surface); padding: 1rem 1.25rem; margin-bottom: 1.25rem; color: var(--wp--preset--color--foreground); }

.wp-block-search { max-width: 480px; }
.wp-block-search.aligncenter { margin-inline: auto; }
.wp-block-search .wp-block-search__inside-wrapper { background: var(--wp--preset--color--surface); border: 1px solid var(--line-dark); overflow: clip; transition: border-color var(--obc-dur) var(--obc-ease); }
.wp-block-search .wp-block-search__inside-wrapper:focus-within { border-color: var(--cu); }
.wp-block-search .wp-block-search__input { background: transparent; border: 0; color: var(--wp--preset--color--foreground); font: inherit; font-size: var(--wp--preset--font-size--small); padding: 0.85em 1em; }
.wp-block-search .wp-block-search__input:focus { outline: none; }
.wp-block-search .wp-block-search__input::placeholder { color: var(--wp--preset--color--dim); }
.wp-block-search .wp-block-search__button { margin: 0; background: var(--cu); color: var(--wp--preset--color--on-accent); border: 0; font-family: var(--wp--preset--font-family--oswald); font-size: var(--wp--preset--font-size--x-small); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 0 1.4em; cursor: pointer; transition: background var(--obc-dur) var(--obc-ease); }
.wp-block-search .wp-block-search__button:hover { background: var(--wp--preset--color--accent-soft); }

/* Placeholder watermark (temp media flag) */
.obc-placeholder:not(.obc-hero__media) { position: relative; }
.obc-placeholder[data-obc-note]::before { content: attr(data-obc-note); position: absolute; top: 0.75rem; left: 0.75rem; z-index: 5; font-family: var(--wp--preset--font-family--oswald); font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--wp--preset--color--foreground); background: rgba(13,12,11,0.72); border: 1px solid var(--line-dark); padding: 0.35em 0.6em; pointer-events: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
/* Mid widths (small laptop / large tablet): drop the dense 4-up grids to 2-up
   well before 900px so a long display heading can't clip or overflow a track
   (fixes the "Why brands hire us" 4th column being cut off through 1024–1280,
   while 1280/1440 keep the 4-up design). */
@media (max-width: 1120px) {
	.obc-whygrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.obc-proggrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.obc-progcell:nth-child(4n) { border-right: 2px solid var(--ink); }
	.obc-progcell:nth-child(2n) { border-right: 0; }
}
@media (max-width: 900px) {
	.obc-intro .obc-wrap, .obc-reel__grid, .obc-quote .obc-wrap, .obc-webcard__inner { grid-template-columns: 1fr; }
	.obc-tiles { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.obc-tile--w3, .obc-tile--w2 { grid-column: span 1; }
	.obc-proggrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.obc-progcell:nth-child(4n) { border-right: 2px solid var(--ink); }
	.obc-progcell:nth-child(2n) { border-right: 0; }
	.obc-whygrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.obc-posts { grid-template-columns: 1fr; }
	.obc-reel__grid > .obc-vid { min-height: 420px; }
}
@media (max-width: 600px) {
	.obc-tiles { grid-template-columns: 1fr; }
	.obc-proggrid { grid-template-columns: 1fr; }
	.obc-progcell { border-right: 0 !important; }
	.obc-whygrid { grid-template-columns: 1fr; }
	.obc-hero__sub { display: none; }
	.obc-hero__cta { flex-direction: column; align-items: stretch; }
	.obc-hero__cta .obc-btn { justify-content: center; }
	.obc-hero__photo img { object-position: 72% 50%; }
	.obc-logoband__row { gap: 1.25rem 1.75rem; justify-content: center; }
	.obc-logoband__row img { height: calc(var(--lh, 36px) * 0.8); }
	.obc-logoband__row .obc-txt { font-size: 1.15rem; }
}

/* ---- Reduced motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; }
	.obc-vid img, .obc-tile__bg, .obc-post .im img, .obc-work-tile img { transition: none; }
	.obc-marq__track { animation: none; }
}
