/*
 * OalChoudhary components. Uses semantic/component tokens only (tokens.css).
 * With Tailwind, import this file inside `@layer components { ... }`.
 */

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
body {
	margin: 0;
	background: var(--oc-color-bg);
	color: var(--oc-color-text);
	font-family: var(--oc-font-body);
	font-size: var(--oc-size-body);
	line-height: var(--oc-leading-body);
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--oc-font-heading); font-weight: 700; line-height: var(--oc-leading-heading); text-wrap: balance; margin: 0 0 .5em; }
h3, h4 { font-weight: 500; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--oc-color-link); }
:focus-visible { outline: 3px solid var(--oc-color-focus); outline-offset: 2px; }
.oc-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.oc-skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--oc-color-brand); color: var(--oc-color-on-brand); padding: 12px 16px; border-radius: var(--oc-radius-md); }
.oc-skip:focus { top: 8px; }
.oc-container { width: min(100% - 2 * max(5vw, 16px), 1200px); margin-inline: auto; }
.oc-icon { width: 24px; height: 24px; flex: none; }
.oc-icon--sm { width: 16px; height: 16px; }

/* ---- Buttons ---- */
.oc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: var(--oc-touch); padding: 0 1.875rem;
	border: 2px solid transparent; border-radius: var(--oc-btn-radius);
	font: 500 .875rem/1 var(--oc-font-body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer;
	transition: background-color var(--oc-dur-fast) var(--oc-ease), transform var(--oc-dur-fast) var(--oc-ease);
}
.oc-btn:active { transform: translateY(1px); }
.oc-btn--primary { background: var(--oc-color-brand); color: var(--oc-color-on-brand); }
.oc-btn--primary:hover { background: var(--oc-color-brand-strong); }
.oc-btn--secondary { background: transparent; color: var(--oc-color-brand); border-color: var(--oc-color-brand); }
.oc-btn--secondary:hover { background: var(--oc-color-brand-soft); }
.oc-btn--whatsapp { background: var(--oc-color-cta-whatsapp); color: var(--oc-color-on-whatsapp); }
.oc-btn--whatsapp:hover { filter: brightness(.95); }
.oc-btn--ghost { background: transparent; color: var(--oc-color-text); }
.oc-btn--ghost:hover { background: var(--oc-color-brand-soft); }
.oc-btn--icon { width: var(--oc-touch); padding: 0; }
.oc-btn--light { background: transparent; color: var(--oc-color-on-dark); border-color: currentColor; }
.oc-btn--light:hover { background: rgb(255 255 255 / .1); }
:lang(hi) .oc-btn, :lang(te) .oc-btn, :lang(ta) .oc-btn { font-size: .9375rem; }
.oc-btn[disabled], .oc-btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ---- Badges ---- */
.oc-badge { display: inline-flex; align-items: center; gap: .35em; padding: .2em .75em; border-radius: var(--oc-badge-radius); font-size: .8125rem; font-weight: 600; background: var(--oc-color-brand-soft); color: var(--oc-color-brand-strong); }
.oc-badge--accent { background: var(--oc-color-accent-soft); color: var(--oc-color-accent); }
.oc-badge--info { background: var(--wp--preset--color--teal-50); color: var(--oc-color-info); }
.oc-badge--success { background: var(--wp--preset--color--olive-100); color: var(--oc-color-success); }
.oc-badge--neutral { background: var(--wp--preset--color--neutral-100); color: var(--oc-color-text-muted); }

/* ---- Cards ---- */
.oc-card { background: var(--oc-card-bg); border: 1px solid var(--oc-color-border); border-radius: var(--oc-card-radius); box-shadow: var(--oc-card-shadow); overflow: hidden; display: flex; flex-direction: column; }
.oc-card__media { aspect-ratio: 4 / 3; background: var(--oc-color-surface-alt); }
.oc-card__media img { width: 100%; height: 100%; object-fit: cover; }
.oc-card__body { padding: 1rem 1.125rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.oc-card__title { font-size: 1.375rem; font-weight: 500; margin: 0; }
.oc-card__local { color: var(--oc-color-text-muted); font-size: .9375rem; margin: 0; }
.oc-card__meta { color: var(--oc-color-text-muted); font-size: .875rem; margin: 0; }
.oc-card__actions { margin-top: auto; padding-top: .5rem; }
.oc-card__actions .oc-btn { width: 100%; padding-inline: .75rem; letter-spacing: .03em; white-space: nowrap; }
.oc-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

/* ---- Stat tile ---- */
.oc-stat { padding: 1rem 0; }
.oc-stat__value { font: 700 clamp(2rem, 5vw, 2.75rem)/1 var(--oc-font-heading); color: var(--oc-color-brand); }
.oc-stat__label { color: var(--oc-color-text-muted); font-size: .9375rem; }

/* ---- Notice ---- */
.oc-notice { border-left: 4px solid var(--oc-color-info); background: var(--wp--preset--color--teal-50); padding: .875rem 1rem; border-radius: var(--oc-radius-sm); }

/* ---- Header ---- */
.oc-header { position: sticky; top: 0; z-index: var(--oc-z-header); background: var(--oc-header-bg); color: var(--oc-header-ink); }
.oc-topbar { background: var(--oc-color-dark); color: var(--oc-color-on-dark); font-size: .8125rem; }
.oc-topbar__in { display: flex; justify-content: flex-end; align-items: center; gap: 1.5rem; min-height: 34px; }
.oc-topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.oc-topbar a:hover { text-decoration: underline; }
.oc-topbar .oc-icon { width: 16px; height: 16px; }
@media (max-width: 1023px) { .oc-topbar { display: none; } }
.oc-header__in { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.oc-header__logo { display: flex; align-items: center; gap: .5rem; font: 700 1.375rem var(--oc-font-heading); color: inherit; text-decoration: none; margin-right: auto; }
.oc-header__nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.oc-header__nav a { display: inline-flex; align-items: center; min-height: var(--oc-touch); padding: 0 .75rem; border-radius: var(--oc-radius-md); color: inherit; text-decoration: none; font-weight: 500; border-radius: 0; box-shadow: inset 0 -3px 0 transparent; }
.oc-header__nav a:hover, .oc-header__nav .current-menu-item > a, .oc-header__nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--wp--preset--color--olive-300); }
.oc-header__desk { display: flex; align-items: center; gap: .5rem; }
@media (max-width: 1023px) {
	.oc-header__nav, .oc-header__desk { display: none; }
}

/* ---- Language switcher: desktop dropdown ---- */
.oc-lang { position: relative; }
.oc-lang > summary { list-style: none; display: inline-flex; align-items: center; gap: .4rem; min-height: var(--oc-touch); padding: 0 .75rem; border: 1px solid rgb(255 255 255 / .4); border-radius: 0; cursor: pointer; font-weight: 600; background: transparent; color: inherit; }
.oc-lang > summary::-webkit-details-marker { display: none; }
.oc-lang__menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 200px; margin: 0; padding: .375rem; list-style: none; background: var(--oc-color-surface); border: 1px solid var(--oc-color-border); border-radius: var(--oc-radius-lg); box-shadow: var(--oc-shadow-lg); z-index: var(--oc-z-sheet); }
.oc-lang__item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--oc-touch); padding: 0 .875rem; border-radius: var(--oc-radius-md); color: var(--oc-color-text); text-decoration: none; }
.oc-lang__item:hover { background: var(--oc-color-brand-soft); }
.oc-lang__item[aria-current="true"] { color: var(--oc-color-brand); font-weight: 700; }
.oc-lang__item[aria-current="true"]::after { content: "✓"; }
.oc-lang__native { font-size: 1.0625rem; }
.oc-lang__item[lang="te"] .oc-lang__native { font-family: "Hind Guntur", sans-serif; }
.oc-lang__item[lang="ta"] .oc-lang__native { font-family: "Hind Madurai", sans-serif; }
.oc-lang__item[lang="hi"] .oc-lang__native { font-family: "Hind", sans-serif; }

/* ---- Language switcher: mobile bottom sheet ---- */
.oc-sheet { border: 0; padding: 0; margin: auto 0 0; width: 100%; max-width: 100%; max-height: 85vh; border-radius: var(--oc-radius-xl) var(--oc-radius-xl) 0 0; background: var(--oc-color-surface); color: var(--oc-color-text); padding-bottom: env(safe-area-inset-bottom); }
.oc-sheet::backdrop { background: rgb(31 28 25 / .5); }
.oc-sheet[open] { animation: oc-sheet-in var(--oc-dur-base) var(--oc-ease); }
@keyframes oc-sheet-in { from { transform: translateY(100%); } }
.oc-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem .25rem 1.25rem; }
.oc-sheet__title { font-size: 1.125rem; margin: 0; }
.oc-sheet__grip { width: 40px; height: 4px; border-radius: 2px; background: var(--oc-color-border); margin: 8px auto 0; }
.oc-sheet .oc-lang__menu { position: static; box-shadow: none; border: 0; padding: .25rem .75rem 1rem; }
.oc-sheet .oc-lang__item { min-height: 56px; font-size: 1.125rem; }

/* ---- Mobile bottom bar ---- */
.oc-bottombar { display: none; }
@media (max-width: 1023px) {
	body { padding-bottom: calc(var(--oc-bottombar-h) + env(safe-area-inset-bottom)); }
	.oc-bottombar {
		display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
		position: fixed; inset: auto 0 0; z-index: var(--oc-z-bottombar);
		height: calc(var(--oc-bottombar-h) + env(safe-area-inset-bottom));
		padding-bottom: env(safe-area-inset-bottom);
		background: var(--oc-bottombar-bg); border-top: 1px solid var(--oc-color-border);
		box-shadow: 0 -4px 16px rgb(31 28 25 / .06);
	}
}
.oc-bottombar__item {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	height: var(--oc-bottombar-h); padding: 6px 2px 8px; border: 0; background: none; cursor: pointer;
	color: var(--oc-bottombar-ink); text-decoration: none; font: 500 .75rem/1.1 var(--oc-font-body); text-align: center;
}
.oc-bottombar__item .oc-icon { width: 24px; height: 24px; }
.oc-bottombar__item[aria-current="page"] { color: var(--oc-bottombar-active); font-weight: 700; }
.oc-bottombar__item[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 3px; border-radius: 0 0 3px 3px; background: var(--oc-bottombar-active); }
.oc-bottombar__item--whatsapp { color: var(--oc-color-text); }
.oc-bottombar__fab {
	display: grid; place-items: center; width: 56px; height: 56px; margin-top: -22px; border-radius: 50%;
	background: var(--oc-color-cta-whatsapp); color: var(--oc-color-on-whatsapp);
	box-shadow: 0 6px 16px rgb(37 211 102 / .45), 0 0 0 4px var(--oc-bottombar-bg);
}
.oc-bottombar__fab .oc-icon { width: 28px; height: 28px; }
.oc-bottombar__label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:lang(ta) .oc-bottombar__item, :lang(te) .oc-bottombar__item { font-size: .6875rem; }

/* ===========================================================================
 * Editorial layout (v0.2): square corners, brand-olive section titles with a
 * leaf eyebrow, dark full-bleed hero and footer joined by a torn soil edge.
 * ======================================================================== */
.oc-section { padding-block: var(--oc-section-pad); }
.oc-section--alt { background: var(--oc-color-surface-alt); }
.oc-section--tight { padding-block: calc(var(--oc-section-pad) / 2); }

/* Section heading: small leaf eyebrow, then a large centred title. */
.oc-head { text-align: center; max-width: 48rem; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.oc-head--left { text-align: left; margin-inline: 0; }
.oc-eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .5rem; color: var(--oc-color-heading); font-size: .9375rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.oc-eyebrow .oc-icon { width: 20px; height: 20px; }
.oc-title { color: var(--oc-color-heading); font-size: clamp(1.875rem, 4vw, 2.5rem); line-height: 1.2; margin: 0; }
.oc-lead { color: var(--oc-color-text); font-size: 1.125rem; margin: 1rem auto 0; max-width: 40rem; }

/* Running text in up to three columns, like a printed report. */
.oc-cols { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.oc-cols p { margin: 0 0 .75rem; }

/* Hero: dark band, copy left, photo right, torn soil edge at the bottom. */
.oc-hero { position: relative; background: var(--oc-color-dark); color: var(--oc-color-on-dark); overflow: hidden; }
.oc-hero__in { position: relative; z-index: 1; display: grid; gap: 2rem; align-items: center; min-height: min(78vh, 720px); padding-block: clamp(3rem, 8vw, 6rem) clamp(4rem, 9vw, 7rem); }
@media (min-width: 900px) { .oc-hero__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.oc-hero__title { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.1; margin: 0; color: inherit; }
.oc-hero__sub { font-size: clamp(1.5rem, 3.2vw, 2.5rem); font-weight: 600; line-height: 1.15; margin: .25rem 0 1.25rem; color: var(--wp--preset--color--olive-300); }
.oc-hero__text { max-width: 34rem; margin: 0 0 2rem; }
.oc-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.oc-hero__media { position: relative; aspect-ratio: 4 / 3; background: var(--wp--preset--color--olive-800); }
.oc-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .oc-hero__in { position: static; } .oc-hero__in > :first-child { position: relative; z-index: 2; } .oc-hero__media { position: absolute; inset: 0 0 0 52%; aspect-ratio: auto; } .oc-hero__media::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; background: linear-gradient(90deg, var(--oc-color-dark), transparent); z-index: 1; } }

/* Torn soil edge. Put .oc-edge on the band ABOVE (edge points down into next band)
   or .oc-edge--top on the band BELOW. Colour follows --oc-edge-color. */
.oc-edge { position: relative; }
.oc-edge::after, .oc-edge--top::before {
	content: ""; position: absolute; left: 0; right: 0; height: clamp(18px, 3vw, 40px); z-index: 2; pointer-events: none;
	background: var(--oc-edge-color, var(--oc-color-bg));
	-webkit-mask: url("../images/soil-edge.svg") center / 100% 100% no-repeat; mask: url("../images/soil-edge.svg") center / 100% 100% no-repeat;
}
.oc-edge::after { bottom: -1px; }
.oc-edge--top { position: relative; }
.oc-edge--top::before { top: -1px; transform: scaleY(-1); --oc-edge-color: var(--oc-color-bg); }

/* Feature card: photo, line icon, title, text, "Read more". No box. */
.oc-feature { display: flex; flex-direction: column; gap: .5rem; }
.oc-feature__media { aspect-ratio: 4 / 3; background: var(--oc-color-surface-alt); overflow: hidden; margin-bottom: .5rem; }
.oc-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--oc-dur-slow) var(--oc-ease); }
.oc-feature:hover .oc-feature__media img { transform: scale(1.04); }
.oc-feature__icon { color: var(--oc-color-heading); width: 24px; height: 24px; }
.oc-feature__title { font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: 500; margin: 0; color: var(--oc-color-text); }
.oc-feature__text { margin: 0; }
.oc-more { align-self: flex-start; margin-top: .25rem; color: var(--oc-color-link); font-size: .875rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; text-underline-offset: 3px; min-height: var(--oc-touch); display: inline-flex; align-items: center; }
.oc-grid--3 { display: grid; gap: 2.5rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* Teaser row: small photo with an offset brand block, title with an arrow. */
.oc-teasers { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.oc-teaser { color: var(--oc-color-text); text-decoration: none; display: grid; align-content: start; gap: .75rem; }
.oc-teaser__media { position: relative; aspect-ratio: 3 / 2; }
.oc-teaser__media::before { content: ""; position: absolute; inset: -10px -10px 10px 10px; background: var(--oc-color-brand); opacity: 0; transition: opacity var(--oc-dur-base) var(--oc-ease); }
.oc-teaser:hover .oc-teaser__media::before, .oc-teaser:focus-visible .oc-teaser__media::before { opacity: 1; }
.oc-teaser__media img, .oc-teaser__media > div { position: relative; width: 100%; height: 100%; object-fit: cover; background: var(--oc-color-surface-alt); }
.oc-teaser__title { display: flex; justify-content: space-between; gap: .75rem; font-weight: 600; font-size: 1.0625rem; line-height: 1.35; color: var(--oc-color-dark); }

/* Partner and press logo strip. */
.oc-logos { display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; gap: 2rem 3rem; }
.oc-logos img { max-height: 72px; width: auto; }

/* Footer: dark band (optionally over a field photo), torn edge on top. */
.oc-footer { position: relative; background: var(--oc-color-dark); color: var(--oc-color-on-dark); padding-block: clamp(4rem, 8vw, 6rem) 2rem; margin-top: var(--oc-section-pad); }
.oc-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: clamp(18px, 3vw, 40px); background: var(--oc-color-bg); -webkit-mask: url("../images/soil-edge.svg") center / 100% 100% no-repeat; mask: url("../images/soil-edge.svg") center / 100% 100% no-repeat; transform: scaleY(-1); }
.oc-footer a { color: inherit; }
.oc-footer__in { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.oc-footer__name { font: 700 1.5rem var(--oc-font-heading); margin: 0 0 .5rem; }
.oc-footer .oc-card__meta { color: rgb(255 255 255 / .75); }
.oc-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.oc-footer__nav a { text-decoration: none; text-transform: uppercase; letter-spacing: .04em; font-size: .9375rem; }
.oc-footer__nav a:hover { text-decoration: underline; }
.oc-footer__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .2); font-size: .875rem; }

/* Long-form text. */
.oc-prose { max-width: 70ch; }
.oc-prose h2, .oc-prose h3 { color: var(--oc-color-heading); margin-top: 1.5em; }
.oc-prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.2; margin-top: 1.75em; }
.oc-prose > :first-child { margin-top: 0; }
.oc-empty { text-align: center; }
.oc-empty .oc-card__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

/* ---- Page head band (archives, services) ---- */
.oc-pagehead { background: var(--oc-color-dark); color: var(--oc-color-on-dark); }
.oc-pagehead__in { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 7vw, 5.5rem); max-width: 52rem; margin-inline: auto; text-align: center; }
.oc-pagehead__title { font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1.1; margin: 0; color: inherit; }
.oc-pagehead__text { margin: 1rem auto 0; max-width: 38rem; color: rgb(255 255 255 / .85); }
.oc-eyebrow--on-dark { color: var(--wp--preset--color--olive-300); }
.oc-title--sm { font-size: clamp(1.5rem, 3vw, 1.875rem); margin-bottom: 1rem; }
.oc-container--narrow { max-width: 48rem; }

/* ---- Category chips (links, no JS) ---- */
.oc-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.oc-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border: 1px solid var(--oc-color-border); color: var(--oc-color-text); text-decoration: none; font-weight: 500; background: var(--oc-color-surface); }
.oc-chip:hover { border-color: var(--oc-color-brand); }
.oc-chip[aria-current="page"] { background: var(--oc-color-brand); border-color: var(--oc-color-brand); color: var(--oc-color-on-brand); }

/* ---- Cards: links inherit ---- */
.oc-card__title a, .oc-feature__title a { color: inherit; text-decoration: none; }
.oc-card__title a:hover, .oc-feature__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.oc-card__badges { display: flex; flex-wrap: wrap; gap: .375rem; margin: 0; }
.oc-card__media, .oc-feature__media { display: block; }

/* ---- Single product ---- */
.oc-product__in { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .oc-product__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.oc-product__title { margin: .75rem 0 .25rem; }
.oc-product__local { color: var(--oc-color-text-muted); font-size: 1.125rem; margin: 0 0 .75rem; }
.oc-product__lead { margin: 0 0 1.5rem; }
.oc-product__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.oc-product__more { display: grid; gap: 2.5rem; margin-top: var(--oc-section-pad); }
@media (min-width: 900px) { .oc-product__more { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); } }
.oc-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .5rem; scrollbar-width: thin; }
.oc-gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 3; background: var(--oc-color-surface-alt); }
.oc-gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.oc-gallery__empty { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--oc-color-surface-alt); color: var(--oc-color-brand); }
.oc-gallery__empty .oc-icon { width: 64px; height: 64px; }

/* Facts list and spec table */
.oc-facts { margin: 0; display: grid; border-top: 1px solid var(--oc-color-border); }
.oc-facts > div { display: grid; grid-template-columns: minmax(8rem, 40%) 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--oc-color-border); }
.oc-facts dt { color: var(--oc-color-text-muted); }
.oc-facts dd { margin: 0; font-weight: 500; }
.oc-specs { width: 100%; border-collapse: collapse; }
.oc-specs th, .oc-specs td { text-align: left; padding: .75rem .5rem .75rem 0; border-bottom: 1px solid var(--oc-color-border); vertical-align: top; }
.oc-specs th { font-weight: 500; color: var(--oc-color-text-muted); width: 45%; }

/* ---- Single service ---- */
.oc-service__in { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .oc-service__in { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } .oc-service__aside { position: sticky; top: 120px; } }
.oc-service__aside { display: grid; gap: 1.25rem; padding: 1.5rem; background: var(--oc-color-surface-alt); }
.oc-ticks { list-style: none; padding: 0; display: grid; gap: .5rem; }
.oc-ticks li { position: relative; padding-left: 1.75rem; }
.oc-ticks li::before { content: ""; position: absolute; left: .25rem; top: .45em; width: .6rem; height: .35rem; border: solid var(--oc-color-brand); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.oc-steps { list-style: none; counter-reset: oc-step; margin: 0; padding: 0; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.oc-steps li { counter-increment: oc-step; border-top: 3px solid var(--oc-color-brand); padding-top: 1rem; }
.oc-steps li::before { content: counter(oc-step); display: block; font: 700 2.5rem/1 var(--oc-font-heading); color: var(--oc-color-heading); margin-bottom: .5rem; }
.oc-faq { border-top: 1px solid var(--oc-color-border); margin-bottom: 2rem; }
.oc-faq details { border-bottom: 1px solid var(--oc-color-border); }
.oc-faq summary { cursor: pointer; padding: 1rem 2rem 1rem 0; font-weight: 600; list-style: none; position: relative; min-height: var(--oc-touch); }
.oc-faq summary::-webkit-details-marker { display: none; }
.oc-faq summary::after { content: "+"; position: absolute; right: .25rem; top: .75rem; font-size: 1.5rem; color: var(--oc-color-brand); }
.oc-faq details[open] summary::after { content: "–"; }
.oc-faq details p { margin: 0 0 1rem; }

/* ---- Pagination ---- */
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .375rem; justify-content: center; margin-top: 2.5rem; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: var(--oc-touch); min-height: var(--oc-touch); border: 1px solid var(--oc-color-border); color: var(--oc-color-text); text-decoration: none; }
.pagination .page-numbers.current { background: var(--oc-color-brand); color: var(--oc-color-on-brand); border-color: var(--oc-color-brand); }

/* ---- Page sections (step 3) ---- */
.oc-center { text-align: center; margin: 2.5rem 0 0; }
.oc-stats { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 1.5rem 3rem; text-align: center; }
.oc-stat__value { font-size: clamp(2.5rem, 6vw, 3.5rem); }

/* Trust strip: major honours in a row of small plaques */
.oc-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.oc-trust li { display: grid; grid-template-columns: auto 1fr; gap: 0 .625rem; align-items: start; }
.oc-trust__icon { grid-row: span 2; color: var(--oc-color-award); width: 28px; height: 28px; }
.oc-trust__year { font-weight: 700; color: var(--oc-color-heading); line-height: 1.2; }
.oc-trust__title { font-size: .9375rem; line-height: 1.35; }

/* Dark band (agencies) */
.oc-band-dark { background: var(--oc-color-dark); color: var(--oc-color-on-dark); --oc-edge-color: var(--oc-color-bg); }
.oc-band-dark__in { display: grid; gap: 1.5rem 3rem; align-items: center; padding-block: clamp(4rem, 8vw, 6rem); }
@media (min-width: 900px) { .oc-band-dark__in { grid-template-columns: minmax(0, 1.4fr) auto; } }
.oc-band-dark__title { font-size: clamp(1.875rem, 4vw, 2.5rem); margin: 0 0 .5rem; color: inherit; }
.oc-band-dark p { margin: 0; color: rgb(255 255 255 / .85); }
.oc-band-dark__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.oc-section--alt + .oc-band-dark { --oc-edge-color: var(--oc-color-surface-alt); }
/* A page that ends on the dark band runs straight into the footer. */
.oc-main:has(> .oc-band-dark:last-child) + .oc-footer { margin-top: 0; padding-top: 2rem; }
.oc-main:has(> .oc-band-dark:last-child) + .oc-footer::before,
.oc-main > .oc-band-dark:last-child::after { display: none; }

/* Media + text split (About) */
.oc-split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .oc-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }
.oc-split__media img { width: 100%; height: auto; }
.oc-split__media:empty { display: none; }
@media (min-width: 900px) { .oc-split:has(.oc-split__media:empty) { grid-template-columns: minmax(0, 1fr); max-width: 48rem; } }

/* Milestones list (About) */
.oc-milestones { list-style: none; margin: 0 auto; padding: 0; max-width: 48rem; border-left: 3px solid var(--oc-color-brand); }
.oc-milestones li { position: relative; display: grid; gap: .125rem; padding: 0 0 1.75rem 1.5rem; }
.oc-milestones li::before { content: ""; position: absolute; left: -9px; top: .35em; width: 15px; height: 15px; background: var(--oc-color-award); border: 3px solid var(--oc-color-surface-alt); border-radius: 50%; }
.oc-milestones__year { font-weight: 700; color: var(--oc-color-heading); }
.oc-milestones__title { font-size: 1.125rem; font-weight: 500; }

/* Data table (Agencies) */
.oc-table-wrap { overflow-x: auto; }
.oc-table { width: 100%; border-collapse: collapse; background: var(--oc-color-surface); }
.oc-table th, .oc-table td { text-align: left; padding: .875rem 1rem; border-bottom: 1px solid var(--oc-color-border); vertical-align: top; }
.oc-table thead th { background: var(--oc-color-brand); color: var(--oc-color-on-brand); font-weight: 500; font-size: .875rem; letter-spacing: .04em; text-transform: uppercase; }
.oc-table td a { color: var(--oc-color-text); font-weight: 600; }
@media (max-width: 600px) {
	.oc-table thead { display: none; }
	.oc-table tr { display: grid; padding: .75rem 0; border-bottom: 1px solid var(--oc-color-border); }
	.oc-table td { display: grid; grid-template-columns: 8.5rem 1fr; gap: .75rem; border: 0; padding: .25rem 1rem; }
	.oc-table td::before { content: attr(data-l); color: var(--oc-color-text-muted); font-size: .875rem; }
	.oc-table td > .oc-badge { justify-self: start; }
}

/* Contact */
.oc-contact__item { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1.5rem; background: var(--oc-color-surface); border: 1px solid var(--oc-color-border); }
.oc-contact__item p { margin: 0; font-size: 1.125rem; }
.oc-contact__item a[href^="tel:"] { color: var(--oc-color-text); font-weight: 600; }
.oc-contact__more { margin-top: 2.5rem; }

/* Award scans in feature cards keep their whole sheet visible */
.oc-feature__media--scan { background: #fbfaf6; border: 1px solid var(--oc-color-border); }
.oc-feature__media--scan img { object-fit: contain; }
.oc-teaser__blank { display: block; width: 100%; height: 100%; background: var(--oc-color-surface-alt); }

/* Gallery page: WordPress Gallery block, square and edge to edge */
.oc-gallery-page .wp-block-gallery { gap: .5rem; }
.oc-gallery-page .wp-block-image img { border-radius: 0; }

/* Long-form text from the editor */
.oc-prose > * + * { margin-top: 1em; }
.oc-prose img { height: auto; }
.oc-prose blockquote { margin: 1.5em 0; padding-left: 1.25rem; border-left: 4px solid var(--oc-color-brand); font-size: 1.125rem; }
