/* Online Facilitation Skills skin on the shared Urban Human Resources core.
   Same type, frames and motion as UHR; OFS gets the slate and green from its logo. */
html:root {
  --color-bg: #f4f6f4;
  --color-surface: #e8ece9;
  --color-text: #1b2226;
  --color-accent: #21333b;
  --color-accent-2: #3fbf63;
  --color-divider: color-mix(in srgb, #1b2226 15%, transparent);
  --color-accent-100: #e3f4e8;
  --color-accent-200: #c8ebd3;
  --color-accent-300: #9bdcaf;
  --color-accent-400: #6fcf8c;
  --color-accent-500: #3fbf63;
  --color-accent-600: #2e4852;
  --color-accent-700: #1d7a3e;
  --color-accent-800: #155c2e;
  --color-accent-900: #0f3d20;
  --ofs-ink: #21333b;
  --ofs-green: #4bd16f;
}
html:root[data-theme="dark"] {
  --color-bg: #111a1d;
  --color-surface: #182429;
  --color-text: #e7eeea;
  --color-accent: #4bd16f;
  --color-divider: color-mix(in srgb, #e7eeea 20%, transparent);
  --color-accent-100: #16302a;
  --color-accent-200: #1d3d33;
  --color-accent-600: #7ddd97;
  --color-accent-700: #7ddd97;
  --color-accent-800: #a8e9b9;
  --color-accent-900: #d6f5de;
  color-scheme: dark;
}
html[data-theme="dark"] body { background: var(--color-bg); color: var(--color-text); }
html[data-theme="dark"] .btn-primary { background: #4bd16f; color: #111a1d; border-color: #4bd16f; }
html[data-theme="dark"] .btn-primary:hover { background: #7ddd97; color: #111a1d; }
.btn-primary:hover { background: #1d7a3e; border-color: #1d7a3e; color: #fff; }
/* The design system gives .nav a colour: inherit, which beats .btn-primary. Put the button back. */
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
html[data-theme="dark"] .nav a.btn-primary, html[data-theme="dark"] .nav a.btn-primary:hover { color: #111a1d; }
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 3px solid var(--ofs-green); outline-offset: 2px; }

/* The one loud element: the canon line on a full-width slate band. */
.ofs-canon {
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  background: var(--ofs-ink); color: #f4f6f4;
  padding: clamp(56px, 9vw, 120px) max(20px, calc((100vw - 1200px) / 2 + clamp(20px, 5vw, 72px)));
  position: relative; overflow: hidden;
}
.ofs-canon::before {
  /* the orbit ring from the logo, drawn large and faint */
  content: ""; position: absolute; right: -12vw; top: 50%; width: 56vw; height: 22vw;
  border: 2px solid color-mix(in srgb, var(--ofs-green) 55%, transparent); border-radius: 50%;
  transform: translateY(-50%) rotate(-16deg); pointer-events: none;
}
.ofs-canon blockquote {
  margin: 0; max-width: 20ch; position: relative;
  font-family: var(--font-heading); font-weight: 600; text-transform: uppercase;
  font-size: clamp(38px, 6.4vw, 88px); line-height: 0.98; letter-spacing: 0.005em;
}
.ofs-canon p { position: relative; max-width: 58ch; font-size: 18px; line-height: 30px; margin: 32px 0 0; color: color-mix(in srgb, #f4f6f4 86%, transparent); }
.ofs-canon strong { color: var(--ofs-green); font-weight: 600; }
html[data-theme="dark"] .ofs-canon { background: #0b1214; border-block: 1px solid var(--color-divider); }

.ofs-kicker { font-size: 15px; line-height: 24px; margin: 0 0 18px; color: color-mix(in srgb, var(--color-text) 72%, transparent); }
.ofs-h2 { font-family: var(--font-heading); font-weight: 600; font-size: clamp(30px, 4vw, 46px); line-height: 1.02; text-transform: uppercase; letter-spacing: 0.01em; margin: 0 0 20px; max-width: 22ch; }
.ofs-h3 { font-family: var(--font-heading); font-weight: 600; font-size: 24px; line-height: 1.08; text-transform: uppercase; letter-spacing: 0.02em; margin: 0 0 10px; }
.ofs-body { font-size: 17px; line-height: 29px; margin: 0 0 18px; max-width: 64ch; }
.ofs-muted { color: color-mix(in srgb, var(--color-text) 74%, transparent); }
.ofs-rule { border: 0; height: 1px; background: var(--color-divider); margin: 0; }
.ofs-lane { border-top: 3px solid var(--color-divider); padding-top: 18px; }
.ofs-lane.is-here { border-top-color: var(--ofs-green); }
.ofs-lane img { display: block; width: 56px; height: 56px; object-fit: cover; border-radius: 50%; margin: 0 0 14px; }
.ofs-status { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 10px; background: var(--color-accent-100); color: var(--color-accent-900); margin: 0 0 12px; }
.ofs-figure { font-family: var(--font-heading); font-weight: 600; font-size: clamp(38px, 4vw, 54px); line-height: 1; margin: 0 0 8px; white-space: nowrap; }
.ofs-answer { font-size: 18px; line-height: 30px; margin: 0 0 18px; max-width: 68ch; }
.ofs-q { font-family: var(--font-heading); font-weight: 600; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.08; text-transform: uppercase; letter-spacing: 0.015em; margin: 44px 0 14px; max-width: 26ch; }
.ofs-source { font-size: 13px; line-height: 21px; margin: 12px 0 0; color: color-mix(in srgb, var(--color-text) 66%, transparent); }
.ofs-field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.uhr-form-msg { font-size: 14px; line-height: 22px; margin: 0; min-height: 22px; }
@media (max-width: 720px) {
  .ofs-canon::before { width: 110vw; height: 44vw; right: -50vw; top: 18%; }
}
