
:root {
  --cib-bg: #ffffff;
  --cib-ink: #111111;
  --cib-muted: #333333;
  --cib-accent: #0b5fff;
  --cib-font: 'Bodoni Moda', Georgia, serif;
  --cib-body: 'Source Sans 3', sans-serif;
  --cib-display: 'Bodoni Moda', Georgia, serif;
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
}
body.cib-body {
  margin: 0;
  font-family: var(--cib-body);
  background: var(--cib-bg);
  color: var(--cib-ink);
  line-height: 1.65;
}
.cib-body a { color: var(--cib-accent); }
.cib-wordmark { font-family: var(--cib-display); font-weight: 600; text-decoration: none; color: inherit; }
.cib-wordmark a { color: inherit; text-decoration: none; }
.cib-menu-btn {
  font: inherit; cursor: pointer; border: 1px solid var(--cib-ink);
  background: transparent; color: var(--cib-ink); padding: .4rem .75rem;
}
.cib-drawer {
  background: var(--cib-ink); color: var(--cib-bg); padding: 1.25rem;
  display: flex; flex-direction: column; gap: .75rem;
}
.cib-drawer[hidden] { display: none !important; }
.cib-drawer a { color: inherit; text-decoration: none; font-size: 1.1rem; }
.cib-main { padding: 1.5rem clamp(1rem,4vw,3rem) 3rem; max-width: 72rem; margin: 0 auto; }
.cib-btn {
  display: inline-block; font: inherit; cursor: pointer; border: none;
  background: var(--cib-ink); color: var(--cib-bg); padding: .65rem 1.1rem; text-decoration: none;
}
.cib-btn-ghost { background: transparent; color: var(--cib-ink); border: 1px solid currentColor; }
.cib-form { display: grid; gap: .75rem; max-width: 28rem; margin-top: 1rem; }
.cib-form label { display: grid; gap: .25rem; font-size: .95rem; }
.cib-form input, .cib-form textarea {
  font: inherit; padding: .5rem .65rem; border: 1px solid var(--cib-muted); background: #fff; color: #111;
}
.cib-footer { padding: 2rem clamp(1rem,4vw,3rem); border-top: 1px solid color-mix(in srgb, var(--cib-ink) 20%, transparent); margin-top: 2rem; }
.cib-footer-contact p { margin: .2rem 0; }
.cib-footer nav a { margin-right: .75rem; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.cib-cookie {
  position: fixed; z-index: 1000; bottom:1rem;left:1rem;right:1rem;backdrop-filter:blur(8px);background:rgba(255,255,255,.85);
  background: var(--cib-bg); color: var(--cib-ink);
  border: 1px solid var(--cib-ink); padding: 1rem; box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.cib-cookie[hidden] { display: none !important; }
.cib-cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.cib-cookie-settings { margin-top: .75rem; display: grid; gap: .5rem; }
.cib-article { max-width: 42rem; }
.cib-article h1 { font-family: var(--cib-display); line-height: 1.2; }

/* site-specific layout hooks */

.cib-announce { background: var(--cib-ink); color: #fff; text-align:center; padding:.4rem; font-size:.85rem; font-family: var(--cib-body); }
.cib-h07 { position:absolute; left:0; right:0; top:2rem; display:flex; justify-content:space-between; padding:1rem; color:#111; z-index:20; }
.cib-h07 .cib-wordmark { color:#111; mix-blend-mode:normal; }
.cib-nav-dots { display:flex; gap:.5rem; align-items:center; }
.cib-dot { width:.55rem; height:.55rem; border-radius:50%; background: currentColor; opacity:.4; display:inline-block; }
.cib-brand-photo { min-height:55vh; display:grid; place-items:center;
  background: linear-gradient(180deg, #fafafa, #e8e8e8); margin-top:0; }
.cib-brand-only { font-family: var(--cib-font); font-size: clamp(2.5rem,8vw,4.5rem); margin:0; text-align:center; }
.cib-strip { display:grid; gap:0; overflow-x:auto; scroll-snap-type:x mandatory; grid-auto-flow:column; grid-auto-columns: minmax(14rem,80%); }
@media (min-width:800px) { .cib-strip { grid-auto-columns: 1fr; grid-auto-flow:column; } }
.cib-frame { scroll-snap-align:start; border:1px solid var(--cib-ink); padding:1.25rem; margin:.5rem; }
.cib-crumb-path { font-size:.85rem; color: var(--cib-muted); margin:2rem 0 1rem; font-family: var(--cib-body); }
.cib-faq details { border-bottom:1px solid #ddd; padding:.7rem 0; font-family: var(--cib-body); }
.cib-f06 .cib-f-top { padding-bottom:1rem; border-bottom:1px solid #ddd; }
.cib-f06 .cib-f-bottom { padding-top:1rem; }
.cib-page-index { scroll-margin-top:4rem; }
#write { opacity:1; }
@media (prefers-reduced-motion: no-preference) {
  .cib-brand-only { transition: opacity .2s linear; }
}

