/* onepage.css — the DS PERA public site (Pages/index, layout l_onepage).
   Laid out like bztgroup.net's one page; themed on the logo: orange #FAAD3B on
   charcoal. Orange is used for rules, fills and large type — small text on it
   is charcoal, never white (white on #FAAD3B is 1.9:1). "DS PERA" is set in
   Audiowide, the logo's wordmark font (OFL, self-hosted). Sentence case. */
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/open-sans/open-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/open-sans/open-sans-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/open-sans/open-sans-600.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/open-sans/open-sans-800.woff2') format('woff2'); }
@font-face { font-family: 'Audiowide'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/audiowide/audiowide-400.woff2') format('woff2'); }

:root {
  --op-orange: #FAAD3B;      /* the logo */
  --op-orange-dark: #E8961C;
  --op-orange-soft: #FDEBD0;
  --op-char: #262628;
  --op-char-deep: #18181A;
  --op-tint: #F6F3EE;
  --op-line: #E6E1D8;
  --op-ink: #1D1D1F;
  --op-text: #45464B;
  --op-muted: #66676D;
  --op-gap: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body.op-body { margin: 0; font-family: 'Open Sans', system-ui, sans-serif; color: var(--op-text); background: #fff; line-height: 1.7; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.op-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.op-wordmark { font-family: 'Audiowide', 'Open Sans', sans-serif; font-weight: 400; letter-spacing: .03em; }
.op-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--op-ink); padding: 8px 14px; }
.op-skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--op-orange-dark); outline-offset: 2px; }

/* Header */
.op-header { position: sticky; top: 0; z-index: 50; background: var(--op-char); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.op-header-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.op-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.op-brand img { height: 44px; width: auto; }
.op-brand strong { display: block; color: #fff; font-size: 1.25rem; line-height: 1.05; white-space: nowrap; }
.op-nav { display: flex; align-items: center; gap: 30px; }
.op-nav a { color: #e4e4e6; text-decoration: none; font-size: .9rem; font-weight: 600; }
.op-nav a:hover { color: var(--op-orange); }
.op-nav a.op-nav-cta { color: var(--op-ink); background: var(--op-orange); border: 1px solid var(--op-orange); padding: 9px 22px; }
.op-nav a.op-nav-cta:hover { background: transparent; color: var(--op-orange); }
.op-nav-toggle, .op-burger { display: none; }

/* Hero — photo under a charcoal wash */
.op-hero { position: relative; min-height: min(calc(100vh - 72px), 780px); display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background-color: var(--op-char); background-size: cover; background-position: center; }
.op-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 24, 26, .82) 0%, rgba(38, 38, 40, .66) 100%); }
.op-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--op-orange); }
.op-hero-in { position: relative; max-width: 820px; padding: 80px 24px; }
.op-hero-tag { display: block; color: var(--op-orange); font-style: italic; font-size: 1.05rem; margin-bottom: 18px; }
.op-hero h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: 1.12; margin: 0 0 24px; color: #fff; }
.op-hero p { font-size: 1.06rem; color: #e9e9eb; max-width: 620px; margin: 0 auto 36px; }
.op-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: #d6d6d9; font-size: 1.1rem; }
.op-scroll:hover { color: var(--op-orange); }
.op-light { font-weight: 400; }
h1 strong, h2 strong { font-weight: 800; }
.op-section h2 strong, .op-clients h2 strong { color: var(--op-ink); box-shadow: inset 0 -.26em 0 rgba(250, 173, 59, .55); }

.op-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 34px; font-size: .92rem; font-weight: 600; text-decoration: none; transition: background .2s, color .2s, border-color .2s; font-family: inherit; cursor: pointer; }
.op-btn-orange { background: var(--op-orange); color: var(--op-ink); border: 1px solid var(--op-orange); }
.op-btn-orange:hover { background: var(--op-orange-dark); border-color: var(--op-orange-dark); }
.op-btn-orange:disabled { opacity: .7; cursor: default; }
.op-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .7); }
.op-btn-ghost:hover { background: #fff; color: var(--op-ink); }

/* Sections */
.op-section { padding: 104px 0; }
.op-section-tint { background: var(--op-tint); }
/* Two plain bands in a row (Services → Projects) read as one: a short gap, not two paddings. */
.op-section:not(.op-section-tint):has(+ .op-section:not(.op-section-tint)) { padding-bottom: 56px; }
.op-section:not(.op-section-tint) + .op-section:not(.op-section-tint) { padding-top: 0; }
.op-eyebrow { display: flex; align-items: center; gap: 12px; font-size: .82rem; font-weight: 600; letter-spacing: .06em; color: var(--op-ink); margin-bottom: 14px; }
.op-eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--op-orange); flex-shrink: 0; }
.op-eyebrow-light { color: #e4e4e6; }
.op-section h2, .op-clients h2, .op-contact h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.18; color: var(--op-ink); margin: 0; }
.op-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.op-intro { margin: 0; font-size: 1.02rem; }

/* Our clients — two rows gliding in opposite directions, endlessly.
   Each row holds the same list twice; both copies slide left by their own
   width and start again — with the second copy exactly where the first began,
   there is no seam. A row's duration grows with its length (--op-secs), so
   the two rows move at the same pace. */
.op-clients { padding: 80px 0 72px; }
.op-clients .op-split { margin-bottom: 40px; }
.op-marquee { display: grid; gap: 16px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.op-mrow { display: flex; width: max-content; }
.op-mtrack { display: flex; gap: 16px; padding: 0 16px 0 0; margin: 0; list-style: none; flex-shrink: 0;
  animation: op-glide var(--op-secs, 50s) linear infinite; will-change: transform; }
.op-mrow-back .op-mtrack { animation-direction: reverse; }
@keyframes op-glide { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.op-marquee:hover .op-mtrack, .op-marquee:focus-within .op-mtrack,
.op-marquee.is-paused .op-mtrack, .op-marquee.is-held .op-mtrack { animation-play-state: paused; }
.op-client { width: 180px; flex-shrink: 0; background: #fff; border: 1px solid var(--op-line); border-top: 3px solid var(--op-orange); padding: 18px 14px 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.op-client-logo { height: 72px; width: 100%; display: flex; align-items: center; justify-content: center; }
.op-client-logo img { max-height: 72px; max-width: 100%; width: auto; height: auto; object-fit: contain; pointer-events: none; }
/* The ministries' stand-in (round national flag) sits back a little beside real logos — tiles and project cards. */
img[src$="tz-flag-round.svg"] { opacity: .5; }
.op-client-logo b { font-size: 1.05rem; font-weight: 800; color: var(--op-ink); text-align: center; line-height: 1.15; overflow-wrap: anywhere; }
.op-client-name { font-size: .76rem; color: var(--op-muted); text-align: center; line-height: 1.35; min-height: 2.7em; display: flex; align-items: center; }
.op-marquee-foot { display: flex; justify-content: flex-end; margin-top: 18px; }
/* With the script the rows are moved by it (manual steps, drag): the CSS glide stands down. */
.op-marquee.is-js .op-mtrack { animation: none; }
.op-marquee.is-js .op-mrow { touch-action: pan-y; user-select: none; cursor: grab; will-change: transform; }
.op-marquee.is-js .op-mrow:active { cursor: grabbing; }
.op-gctl { display: inline-flex; align-items: center; gap: 8px; }
.op-garrow { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--op-ink); border: 1px solid var(--op-ink); cursor: pointer; transition: background .2s, color .2s; }
.op-garrow:hover { background: var(--op-ink); color: #fff; }
.op-pause { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--op-muted); font: inherit; font-size: .82rem; cursor: pointer; padding: 4px 10px; min-width: 76px; justify-content: center; }
.op-pause:hover { color: var(--op-ink); }

/* Numbered service cards: 4 + 4; orange rule on top */
.op-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 2px; }
.op-card { flex: 0 0 calc(25% - 2px); border-top: 3px solid var(--op-orange); padding: 36px 26px 44px; transition: background .2s; }
.op-card:hover { background: var(--op-tint); }
.op-num { font-size: .8rem; font-weight: 800; letter-spacing: .08em; color: var(--op-ink); }
.op-card h3 { font-size: 1.1rem; font-weight: 600; color: var(--op-ink); margin: 18px 0 12px; line-height: 1.35; }
.op-card p { font-size: .9rem; margin: 0; color: var(--op-muted); }

/* Project experience — two gliding rows of cards (see .op-marquee) */
.op-ptools { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.op-pglide .op-mtrack { align-items: stretch; }
.op-pcard { width: 300px; flex-shrink: 0; background: #fff; border: 1px solid var(--op-line); border-top: 4px solid var(--op-orange); padding: 14px 18px 14px; display: flex; flex-direction: column; }
.op-pcard-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; }
.op-pcard-logo { display: flex; align-items: center; height: 40px; max-width: 60%; }
.op-pcard-logo img { max-height: 40px; max-width: 100%; object-fit: contain; pointer-events: none; }
.op-pcard-logo b { font-size: .95rem; font-weight: 800; color: var(--op-ink); }
.op-chip { background: var(--op-orange-soft); color: var(--op-ink); font-size: .74rem; font-weight: 600; padding: 3px 10px; white-space: nowrap; }
.op-pcard-img { aspect-ratio: 16 / 9; background-size: cover; background-position: center; margin-top: 16px; }
.op-pcard h3 { font-size: .93rem; font-weight: 600; color: var(--op-ink); margin: 10px 0 10px; line-height: 1.45; flex: 1; min-height: 4.35em; }
.op-pcard-foot { border-top: 1px solid var(--op-line); padding-top: 12px; display: grid; gap: 4px; }
.op-pcard-client { font-size: .86rem; font-weight: 600; color: var(--op-ink); }
.op-pcard-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .8rem; color: var(--op-muted); }
.op-pstatus { color: var(--op-ink); font-weight: 600; }

/* Why DS PERA */
.op-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.op-why-card { background: #fff; border-top: 3px solid var(--op-orange); padding: 30px 26px; }
.op-why-card h3 { font-size: 1.08rem; font-weight: 600; color: var(--op-ink); margin: 0 0 10px; }
.op-why-card p { margin: 0; font-size: .9rem; color: var(--op-muted); }

/* Contact — charcoal band */
.op-contact { background: var(--op-char); color: #d6d6d9; padding: 104px 0; }
.op-contact h2 { color: #fff; }
.op-contact h2 strong { color: var(--op-orange); }
.op-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.op-contact-lead { margin: 24px 0 32px; }
.op-office h3 { color: #fff; font-size: 1rem; font-weight: 600; margin: 0 0 6px; }
.op-office h3 em { font-style: normal; font-size: .72rem; font-weight: 600; color: var(--op-ink); background: var(--op-orange); padding: 2px 8px; margin-left: 6px; vertical-align: middle; }
.op-office p { margin: 0 0 18px; font-size: .92rem; }
.op-lines { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.op-lines li { display: flex; align-items: center; gap: 12px; font-size: .92rem; }
.op-lines i { color: var(--op-orange); width: 18px; text-align: center; }
.op-lines a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.op-lines a:hover { border-color: var(--op-orange); }
.op-map { position: relative; margin: 0 0 24px; border-top: 4px solid var(--op-orange); background: #333; }
.op-map iframe { display: block; width: 100%; height: 260px; border: 0; }
.op-map-go { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; background: var(--op-orange); color: var(--op-ink); font-size: .84rem; font-weight: 600; padding: 8px 14px; text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.op-map-go:hover { background: var(--op-orange-dark); }
.op-hours { border-collapse: collapse; font-size: .88rem; }
.op-hours td { padding: 4px 28px 4px 0; vertical-align: top; }
.op-hours td:first-child { color: #fff; }

/* The form */
.op-form-card { background: #fff; color: var(--op-text); padding: 28px 30px 30px; box-shadow: 0 18px 50px rgba(0, 0, 0, .3); border-top: 4px solid var(--op-orange); }
.op-form-card h3 { margin: 0 0 12px; font-size: 1.15rem; font-weight: 600; color: var(--op-ink); }
/* The three choices: one slim tab bar, labels on one line (2026-10-17 — the
   boxed buttons wrapped to two lines and made the card look heavy). */
.op-choice { display: flex; border: 1px solid #cfcac0; margin-bottom: 20px; }
#profile { scroll-margin-top: 90px; }
.op-choice label { position: relative; flex: 1 1 0; cursor: pointer; }
.op-choice label + label { border-left: 1px solid #cfcac0; }
.op-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.op-choice span { display: flex; align-items: center; justify-content: center; gap: 7px; height: 100%; text-align: center; white-space: nowrap; font-size: .82rem; font-weight: 600; color: var(--op-ink); padding: 9px 12px; transition: background .15s, color .15s; }
.op-choice span i { color: var(--op-muted); font-size: .9rem; }
.op-choice label:hover span { background: var(--op-tint); }
.op-choice input:checked + span { background: var(--op-char); color: #fff; }
.op-choice input:checked + span i { color: var(--op-orange); }
.op-choice input:focus-visible + span { outline: 2px solid var(--op-orange-dark); outline-offset: 2px; }
.op-field { display: block; margin-bottom: 14px; }
.op-field span { display: block; font-size: .8rem; font-weight: 600; color: var(--op-ink); margin-bottom: 5px; }
.op-field span em { font-style: normal; font-weight: 400; color: var(--op-muted); }
.op-field input, .op-field select, .op-field textarea { width: 100%; font-family: inherit; font-size: .9rem; line-height: 1.4; color: var(--op-ink); background: #fff; border: 1px solid #cfcac0; border-radius: 2px; padding: 8px 11px; height: 40px; }
.op-field textarea { height: auto; }
.op-field textarea { resize: vertical; min-height: 92px; }
/* A meeting or the profile only takes an optional note: a smaller box. */
.op-form:has(#op-kind-meeting:checked) #op-message, .op-form[data-kind="MEETING"] #op-message,
.op-form:has(#op-kind-profile:checked) #op-message, .op-form[data-kind="PROFILE"] #op-message { min-height: 62px; height: 62px; }
.op-form .op-btn { padding: 12px 28px; }
.op-field input:focus, .op-field select:focus, .op-field textarea:focus { outline: 2px solid var(--op-orange-dark); outline-offset: 0; border-color: var(--op-orange-dark); }
.op-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.op-meet { border: 0; border-left: 3px solid var(--op-orange); background: var(--op-tint); padding: 16px 18px 4px; margin: 0 0 18px; min-width: 0; }
.op-meet legend { float: left; width: 100%; font-size: .9rem; font-weight: 600; color: var(--op-ink); padding: 0; margin: 0 0 12px; }
.op-meet-note { clear: both; font-size: .8rem; color: var(--op-muted); margin: 0 0 14px; }
/* Which boxes show: by the choice above (CSS :has, so it works before the
   script runs), and by data-kind / data-site the script sets (older browsers). */
.op-form .op-meet, .op-form .op-only-site { display: none; }
.op-form:has(#op-kind-meeting:checked) .op-meet, .op-form[data-kind="MEETING"] .op-meet { display: block; }
.op-form:has(#op-kind-profile:checked) .op-not-profile, .op-form[data-kind="PROFILE"] .op-not-profile { display: none; }
.op-form:has(#op-meeting-type option[value="SITE"]:checked) .op-only-site, .op-form[data-site="1"] .op-only-site { display: block; }
.op-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.op-form-error { background: #fdecec; border-left: 4px solid #b42318; color: #7a1a12; padding: 10px 14px; margin-bottom: 16px; font-size: .9rem; }
.op-form-done { text-align: center; padding: 48px 12px; }
.op-form-done i { font-size: 2.6rem; color: var(--op-orange-dark); }
.op-form-done h3 { margin: 16px 0 8px; }
.op-form-done p { margin: 0; }
.op-form-again { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: .88rem; font-weight: 600; color: var(--op-ink); text-decoration: none; border-bottom: 2px solid var(--op-orange); padding-bottom: 3px; }
.op-form-done .op-form-again i { font-size: .8rem; color: var(--op-ink); }
.op-form-again:hover { border-color: var(--op-orange-dark); }

/* Footer */
.op-footer { background: var(--op-char-deep); color: #a7a7ad; font-size: .82rem; }
.op-footer-in { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; padding-top: 24px; padding-bottom: 24px; flex-wrap: wrap; }
.op-footer-brand { display: flex; align-items: center; gap: 14px; }
.op-footer-brand img { height: 38px; width: auto; }
.op-footer-brand .op-wordmark { color: #fff; }
.op-top { color: #e4e4e6; text-decoration: none; }
.op-top:hover { color: var(--op-orange); }
.op-footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-left: auto; }
.op-footer-links a { color: #e4e4e6; text-decoration: none; }
.op-footer-links a:hover { color: var(--op-orange); }
.op-nav a[aria-current="page"] { color: var(--op-orange); }

/* Not found */
.op-page { padding-top: 56px; }
.op-page h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; color: var(--op-ink); margin: 0 0 20px; }
.op-narrow { max-width: 860px; }

/* Careers and Tenders (their own pages) — a charcoal head band, then lists and detail pages. */
.op-pagehead { position: relative; background: var(--op-char); color: #d6d6d9; padding: 72px 0 64px; }
.op-pagehead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--op-orange); }
.op-pagehead h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.14; color: #fff; margin: 0 0 18px; max-width: 900px; }
.op-pagehead h1 strong { color: var(--op-orange); }
.op-pagehead p { margin: 0; max-width: 720px; font-size: 1.04rem; }
.op-pagehead-short { padding: 40px 0 44px; }
.op-pagehead-short h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 600; margin-bottom: 14px; }
.op-back { display: inline-flex; align-items: center; gap: 8px; color: #e4e4e6; text-decoration: none; font-size: .86rem; font-weight: 600; margin-bottom: 22px; }
.op-back:hover { color: var(--op-orange); }
.op-section-short { padding: 64px 0; }
.op-section.op-section-short + .op-section.op-section-short:not(.op-section-tint) { padding-top: 64px; }
.op-listhead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.op-count { font-size: .86rem; font-weight: 600; color: var(--op-muted); }
.op-h2-small { font-size: 1.3rem !important; margin-bottom: 18px !important; }
.op-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.op-item { background: #fff; border: 1px solid var(--op-line); border-left: 4px solid var(--op-orange); transition: background .2s, box-shadow .2s; }
.op-item:hover { background: var(--op-tint); box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.op-item-link { display: block; padding: 22px 26px; text-decoration: none; color: inherit; }
.op-item h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 600; color: var(--op-ink); line-height: 1.4; }
.op-item p { margin: 10px 0 0; font-size: .92rem; color: var(--op-muted); max-width: 820px; }
.op-item-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.op-item-kind { font-size: .8rem; font-weight: 600; color: var(--op-muted); }
.op-item-kind-light { color: #c9c9cd; }
.op-item-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .86rem; font-weight: 600; color: var(--op-ink); border-bottom: 2px solid var(--op-orange); padding-bottom: 2px; }
.op-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .86rem; color: var(--op-muted); }
.op-meta span { display: inline-flex; align-items: center; gap: 8px; }
.op-meta i { color: var(--op-orange-dark); font-size: .82rem; }
.op-meta-light { color: #d6d6d9; }
.op-meta-light i { color: var(--op-orange); }
.op-soon { color: var(--op-ink); font-weight: 600; }
.op-empty { display: flex; align-items: center; gap: 22px; background: var(--op-tint); border: 1px dashed #d8d1c4; padding: 28px 30px; }
.op-empty i { font-size: 2rem; color: var(--op-orange-dark); }
.op-empty p { margin: 0; }
.op-empty strong { color: var(--op-ink); }
.op-apply-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.op-apply-lead { margin: 20px 0 22px; }
.op-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.op-ticks li { display: flex; gap: 12px; align-items: baseline; }
.op-ticks i { color: var(--op-orange-dark); font-size: .85rem; }
.op-detail { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.op-detail-side { position: sticky; top: 96px; scroll-margin-top: 90px; }
.op-prose h2 { font-size: 1.25rem !important; font-weight: 700; color: var(--op-ink); margin: 32px 0 12px !important; }
.op-prose h2:first-child, .op-prose .op-lead + h2 { margin-top: 0 !important; }
.op-prose p { margin: 0 0 14px; }
.op-lead { font-size: 1.1rem; color: var(--op-ink); margin-bottom: 28px !important; }
.op-items { margin: 0 0 8px; padding-left: 22px; }
.op-items li { padding: 6px 0; border-bottom: 1px solid var(--op-line); }
.op-items li:last-child { border-bottom: 0; }
.op-facts { margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--op-line); }
.op-facts div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--op-line); }
.op-facts dt { font-weight: 600; color: var(--op-ink); font-size: .9rem; }
.op-facts dd { margin: 0; font-size: .92rem; }
.op-muted { color: var(--op-muted); }
.op-small { font-size: .86rem; margin-top: 22px !important; }
.op-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.op-docs a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--op-line); background: #fff; text-decoration: none; color: var(--op-ink); font-weight: 600; font-size: .92rem; }
.op-docs a:hover { border-color: var(--op-orange); background: var(--op-tint); }
.op-docs i { font-size: 1.4rem; color: #b42318; }
.op-docs small { display: block; font-weight: 400; color: var(--op-muted); font-size: .8rem; }
.op-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.op-steps li { background: #fff; border-top: 3px solid var(--op-orange); padding: 26px 24px; }
.op-steps b { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; background: var(--op-char); color: var(--op-orange); font-size: .85rem; }
.op-steps h3 { margin: 14px 0 8px; font-size: 1.02rem; font-weight: 600; color: var(--op-ink); }
.op-steps p { margin: 0; font-size: .9rem; color: var(--op-muted); }
.op-table-wrap { overflow-x: auto; }
.op-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.op-table th { text-align: left; font-weight: 600; color: var(--op-ink); padding: 10px 14px 10px 0; border-bottom: 2px solid var(--op-ink); }
.op-table td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--op-line); vertical-align: top; }
.op-table a { color: var(--op-ink); }
.op-nowrap { white-space: nowrap; }
.op-status { display: inline-block; font-size: .76rem; font-weight: 600; padding: 2px 10px; background: var(--op-tint); color: var(--op-ink); white-space: nowrap; }
.op-status-open { background: #dcf2e3; color: #14532d; }
.op-status-closed { background: var(--op-orange-soft); }
.op-status-awarded { background: var(--op-char); color: #fff; }
.op-status-cancelled { background: #eee; color: var(--op-muted); }
.op-closed-card { background: var(--op-tint); border-top: 4px solid var(--op-line); padding: 32px 30px; text-align: center; }
.op-closed-card i { font-size: 2rem; color: var(--op-muted); }
.op-closed-card h3 { color: var(--op-ink); margin: 14px 0 8px; font-size: 1.15rem; }
.op-closed-card p { margin: 0 0 20px; font-size: .92rem; }
.op-form-note { display: flex; gap: 10px; align-items: baseline; font-size: .82rem; color: var(--op-muted); background: var(--op-tint); padding: 8px 12px; margin: -4px 0 16px; }
.op-form-note i { color: var(--op-orange-dark); }
.op-form-note-foot { background: none; padding: 0; margin: 14px 0 0; }
.op-field input[type="file"] { height: auto; padding: 7px 8px; font-size: .84rem; background: var(--op-tint); }
.op-check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--op-text); margin: 2px 0 18px; cursor: pointer; line-height: 1.5; }
.op-check input { width: 17px; height: 17px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--op-char); }
.op-check-tight { margin: -4px 0 14px; }
.op-price-row { grid-template-columns: 1.6fr 1fr; }
/* Cloudflare Turnstile (SpamGuard::widget): takes room only when it asks for a click. */
.sg-turnstile { margin: 0 0 14px; }
.sg-turnstile:empty { margin: 0; }

/* Seven menu items need room: tighter between 900 and 1060 px, the phone menu below. */
@media (max-width: 1060px) {
  .op-nav { gap: 18px; }
  .op-nav a { font-size: .86rem; }
  .op-nav a.op-nav-cta { padding: 9px 16px; }
}
/* Tablet */
@media (max-width: 991px) {
  .op-card { flex-basis: calc(50% - 2px); }
  .op-split, .op-contact-grid, .op-apply-grid, .op-detail { grid-template-columns: 1fr; }
  .op-why { grid-template-columns: 1fr 1fr; }
  .op-contact-grid, .op-apply-grid, .op-detail { gap: 40px; }
  .op-detail-side { position: static; }
  .op-steps { grid-template-columns: 1fr; gap: 14px; }
}
/* Phone (and narrow tablets: the menu has seven items) */
@media (max-width: 900px) {
  .op-burger { display: block; color: #fff; font-size: 1.3rem; cursor: pointer; padding: 8px; }
  .op-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--op-char); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; box-shadow: 0 12px 24px rgba(0, 0, 0, .25); }
  .op-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .op-nav a.op-nav-cta { margin-top: 14px; text-align: center; }
  .op-nav-toggle:checked ~ .op-nav { display: flex; }
}
@media (max-width: 680px) {
  .op-wrap { padding: 0 16px; }
  .op-section, .op-contact { padding: 72px 0; }
  .op-clients { padding: 60px 0 56px; }
  .op-split { margin-bottom: 36px; gap: 18px; }
  .op-card { flex-basis: 100%; padding: 26px 4px 34px; }
  .op-why, .op-field-row { grid-template-columns: 1fr; }
  .op-client { width: 150px; }
  .op-pcard { width: 260px; }
  .op-form-card { padding: 22px 18px 24px; }
  .op-choice span { flex-direction: column; gap: 4px; white-space: normal; line-height: 1.25; font-size: .78rem; padding: 9px 4px; }
  .op-brand strong { font-size: 1rem; }
  .op-pagehead { padding: 48px 0 44px; }
  .op-pagehead-short { padding: 28px 0 32px; }
  .op-section-short { padding: 44px 0; }
  .op-item-link { padding: 18px 18px; }
  .op-empty { flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px; }
  .op-facts div { grid-template-columns: 1fr; gap: 2px; }
  .op-footer-links { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* No glide for a visitor who asked for less motion; the arrows, Play and dragging still work. */
  .op-mtrack { animation: none; }
}
