/* Oddly Digital — lean brand stylesheet
   Colours per Brand_Guidelines.pdf: Blick #231f20, Bloo #00ffff, Geen #02ff48,
   Yello #ffff4c, Oranj #ff8527, Punk #ff036c.
   Type: Jost (Google Fonts) substituted for Futura — 800/700/600/400 map to
   Futura Extra Bold / Bold / Demi / Book per the guideline.
*/

:root {
  --blick: #231f20;
  --bloo: #00ffff;
  --geen: #02ff48;
  --yello: #ffff4c;
  --oranj: #ff8527;
  --punk: #ff036c;
  --white: #ffffff;
  --ink: var(--blick);
  --paper: #faf9f7;
  --max: 1220px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Keep in-page anchor targets clear of the sticky header. */
section[id] { scroll-margin-top: 72px; }

body {
  margin: 0;
  font-family: "Jost", "Futura", "Century Gothic", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Type scale ---------- */

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); text-transform: uppercase; }
h3 { font-size: 1.05rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

p { margin: 0 0 1em; max-width: 62ch; }

.eyebrow {
  display: inline-block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--blick);
  opacity: 0.65;
  margin-bottom: 0.6em;
}

/* Guideline treatment: "Add a black box and set headlines in white or a colour" */
.headline-box {
  display: inline-block;
  background: var(--blick);
  color: var(--geen);
  padding: 0.25em 0.4em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.headline-box.punk { color: var(--punk); }
.headline-box.oranj { color: var(--oranj); }

/* ---------- Focus & motion ---------- */

a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--punk);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--blick);
  border-bottom: 3px solid var(--geen);
}

/* Base-of-header colour matches the highlight colour of the current page's
   nav item: Home & Digital Readiness = Geen, Products = Bloo, Local Support = Punk. */
.header-accent-geen { border-bottom-color: var(--geen); }
.header-accent-bloo { border-bottom-color: var(--bloo); }
.header-accent-punk { border-bottom-color: var(--punk); }
.header-accent-oranj { border-bottom-color: var(--oranj); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo-link { display: block; width: 128px; flex: none; }
.logo-link img { display: block; }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  row-gap: 10px;
}

.site-nav a {
  display: inline-block;
  white-space: nowrap;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 6px 2px;
  border-bottom: 3px solid var(--nav-accent, rgba(255,255,255,0.35));
  transition: background-color 0.15s ease, color 0.15s ease;
}

/* Colour-coded menu highlights */
.site-nav a.nav-local     { --nav-accent: var(--punk); }
.site-nav a.nav-products  { --nav-accent: var(--bloo); }
.site-nav a.nav-readiness { --nav-accent: var(--geen); }
.site-nav a.nav-home      { --nav-accent: var(--geen); }
.site-nav a.nav-federation{ --nav-accent: var(--oranj); }

.site-nav a:hover, .site-nav a[aria-current="page"] {
  background: var(--nav-accent, var(--geen));
  color: var(--blick);
  border-bottom-color: var(--nav-accent, var(--geen));
}

.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 6px 10px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
  }
  .site-nav {
    display: none;
    width: 100%;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 14px; padding: 16px 0; }
  .site-header .wrap { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--blick);
  color: var(--white);
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero .wrap { position: relative; z-index: 1; }

.hero-icon {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 340px;
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}

.hero .eyebrow { color: var(--geen); opacity: 1; }
.hero h1 { max-width: 14ch; margin-bottom: 0.4em; }

/* A product's own hero within a page that already has one. */
.sub-hero { padding: 56px 0 64px; border-top: 3px solid var(--punk); }
.sub-hero.oranj { border-top-color: var(--oranj); }
.sub-hero.geen { border-top-color: var(--geen); }
.sub-hero h2 { max-width: 18ch; margin-bottom: 0.5em; }

@media (max-width: 720px) {
  .hero-icon { width: 220px; right: -70px; top: -60px; opacity: 0.12; }
}
.hero .lede { font-size: 1.15rem; max-width: 46ch; color: #e9e9e9; }
.hero-compact { padding: 56px 0 64px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--punk);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
  padding: 14px 26px;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover { background: #d9025c; }

.btn.secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn.secondary:hover { background: var(--white); color: var(--blick); }

.btn.on-light { background: var(--blick); }
.btn.on-light:hover { background: #000; }

.btn.outline-punk {
  background: transparent;
  color: var(--punk);
  border: 2px solid var(--punk);
}
.btn.outline-punk:hover { background: var(--punk); color: var(--white); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 1.6em; }

/* ---------- Sections ---------- */

section { padding: 64px 0; }
section.tight { padding: 40px 0; }

.section-head { max-width: 68ch; margin-bottom: 2.2em; }

.section-alt { background: var(--white); }
.section-dark { background: var(--blick); color: var(--white); }
.section-dark p { color: #e6e6e6; }
.section-dark .eyebrow { color: var(--geen); opacity: 1; }

.icon-tag {
  width: 46px;
  height: 46px;
  margin-bottom: 1em;
}

/* ---------- Grids ---------- */

.grid {
  display: grid;
  gap: 28px;
}
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 860px) {
  .grid.cols-3, .grid.cols-4, .grid.cols-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid.cols-3, .grid.cols-4, .grid.cols-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid #eee;
  padding: 26px;
}

.card h3 { margin-bottom: 0.5em; }

/* Partner / logo tiles: consistent typographic marks rather than mismatched
   scraped logos, styled like a type specimen. */
.partner-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  background: var(--white);
  border: 1px solid #eaeaea;
  text-decoration: none;
  color: var(--blick);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  text-align: center;
  padding: 18px;
  transition: border-color 0.15s ease;
}
.partner-tile:hover { border-color: var(--geen); }
.partner-tile span.sub {
  display: block;
  font-weight: 400;
  text-transform: none;
  font-size: 0.78rem;
  letter-spacing: 0;
  opacity: 0.7;
  margin-top: 4px;
}

.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  background: var(--geen);
  color: var(--blick);
  margin-bottom: 1em;
  align-self: flex-start;
}
.pill.punk { background: var(--punk); color: var(--white); }
.pill.oranj { background: var(--oranj); color: var(--blick); }
.pill.bloo { background: var(--bloo); color: var(--blick); }

.pill-row { list-style: none; padding: 0; margin: 1.2em 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-row .pill { margin: 0; }

/* ---------- Photo feature ---------- */

.feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
}
.feature-photo { margin: 0; }
.feature-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #ddd; }
.feature-photo figcaption { font-size: 0.75rem; opacity: 0.7; margin-top: 8px; }

.screenshot { margin: 0; }
.screenshot img {
  width: 100%;
  height: auto;
  border: 1px solid #e5e5e5;
  box-shadow: 0 12px 32px rgba(35, 31, 32, 0.12);
}
.screenshot figcaption { font-size: 0.75rem; opacity: 0.7; margin-top: 10px; }
.hero-shot { margin-top: 2.5em; }
.hero-shot img { border-color: #3a3a3a; box-shadow: none; }
.phone-shot { max-width: 320px; justify-self: center; }
.phone-shot img { border-radius: 24px; }
.media-row { margin-bottom: 2.4em; }
.media-row .section-head { margin-bottom: 0; }
.community-logo { width: 120px; height: 120px; margin-bottom: 1.2em; }
.product-mark { width: 72px; height: 72px; margin-bottom: 1em; }

/* Product sub-heroes: mark above the text on mobile, beside it on desktop. */
.sub-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) {
  .sub-hero-grid { grid-template-columns: minmax(0, 1fr) auto; column-gap: 64px; align-items: center; }
  .sub-hero-grid .sub-hero-text { grid-column: 1; grid-row: 1; }
  .sub-hero-grid .product-mark { grid-column: 2; grid-row: 1; width: 240px; height: 240px; margin: 0 24px 0 0; }
  .sub-hero-grid .lede { max-width: 58ch; }
  .sub-hero-grid .hero-shot { grid-column: 1 / -1; }
}
.partner-tile .tile-mark { width: 44px; height: 44px; margin-bottom: 10px; }
.section-dark .screenshot img { border-color: #3a3a3a; box-shadow: none; }

.feature-list { padding-left: 1.1em; margin: 0; }
.feature-list li { margin-bottom: 0.5em; }
.feature-mark { width: 100%; max-width: 220px; margin: 0 auto; }

/* ---------- Pricing / offer cards (BL5) ---------- */

.offer-card {
  background: var(--white);
  border: 1px solid #eee;
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.offer-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--punk);
  margin: 0.2em 0;
}
.offer-card ul {
  padding-left: 1.1em;
  margin: 0 0 1.4em;
  flex: 1;
}
.offer-card li { margin-bottom: 0.4em; }
.card-note {
  font-size: 0.9rem;
  border-left: 3px solid var(--bloo);
  padding-left: 12px;
  margin-bottom: 1.4em;
}

/* ---------- Case studies ---------- */

.cs-logo {
  background: var(--white);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.cs-logo img { max-width: 100%; max-height: 160px; width: auto; height: auto; }

.profile-list { margin: 0; display: grid; gap: 0; border-top: 3px solid var(--blick); }
.profile-list > div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
}
.profile-list dt { font-weight: 600; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.08em; padding-top: 3px; }
.profile-list dd { margin: 0; }
.profile-list a { font-weight: 600; }
.profile-inline { grid-template-columns: repeat(3, 1fr); column-gap: 28px; margin-bottom: 2.4em; }
.profile-inline > div { grid-template-columns: 1fr; gap: 4px; }
@media (max-width: 720px) {
  .profile-inline { grid-template-columns: 1fr; }
  .profile-list > div { grid-template-columns: 1fr; gap: 4px; }
}

.cs-story h3 { margin-bottom: 0.6em; }
.cs-image { margin-top: 2.4em; }
.cs-cta { border-bottom: 3px solid var(--geen); }

.stat-figure {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--punk);
  margin: 0 0 0.3em;
}

.cs-quote {
  margin: 2.4em 0 0;
  padding: 28px 32px;
  background: var(--blick);
  color: var(--white);
  border-left: 6px solid var(--geen);
  max-width: 62rem;
}
.cs-quote p { font-size: 1.25rem; line-height: 1.5; margin: 0 0 0.8em; max-width: none; }
.cs-quote footer { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--geen); }

/* Template-only guidance. Never appears on a real case study. */
.tpl-note {
  border: 2px dashed var(--oranj);
  background: #fff7f0;
  color: var(--blick);
  padding: 10px 14px;
  font-size: 0.85rem;
  margin: 1em 0;
}
.tpl-note::before { content: "Template note: "; font-weight: 700; }

/* ---------- Long-form text (privacy etc.) ---------- */

.prose { max-width: 72ch; }
.prose h2 { font-size: 1.3rem; margin: 1.8em 0 0.6em; }
.prose h2:first-of-type { margin-top: 0.8em; }
.prose ul { padding-left: 1.1em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.3em; }
.prose a { font-weight: 600; }
.prose .updated { font-size: 0.85rem; opacity: 0.7; }
.prose code { font-size: 0.9em; background: #f1f0ee; padding: 1px 5px; }

.table-wrap { overflow-x: auto; margin: 0 0 1em; }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
.table-wrap th, .table-wrap td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e5e5e5; vertical-align: top; }
.table-wrap th { font-weight: 600; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.06em; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--blick);
  color: #cfcfcf;
  padding: 48px 0 28px;
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--geen); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h3 { color: var(--white); opacity: 0.8; margin-bottom: 0.8em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.5em; }
.footer-logo { width: 130px; margin-bottom: 1em; }
.social-row { display: flex; gap: 14px; margin-top: 1em; }
.social-row a {
  border: 1px solid #555;
  padding: 6px 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
}
.social-row a:hover { border-color: var(--geen); }
.legal {
  border-top: 1px solid #3a3a3a;
  padding-top: 20px;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--geen);
  color: var(--blick);
  padding: 10px 16px;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }
