/* SMEbrug brand layer — Delfts blauw on glaze white.
   Loaded after site.css and wp.css; it only changes colours, the logo and a few brand details. */

@font-face { font-family: "IM Fell English"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/im-fell-english-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IM Fell English"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/im-fell-english-latin-400-italic.woff2) format("woff2"); }

:root {
  --bg: #F6F7F3;          /* glazuurwit */
  --ink: #0F1E4A;         /* text and dark panels */
  --ink-2: #2B3A63;
  --muted: #4B5878;
  --line: #D5DCEA;
  --panel: #E8EDF6;       /* porselein, lighter */
  --accent: #1B3F9E;      /* Delfts blauw */
  --accent-dark: #10297A; /* diep kobalt */
  --accent-light: #B8C9EC;
  --wash: #5B7FC4;        /* wasblauw: illustrations, fine details */
  --warn-bg: #E3EAF7;
  --info: #10297A;
  --info-bg: #E3EAF7;
  --logo: "IM Fell English", Georgia, serif;
}

/* Typography: Source Serif 4 for headings, Source Sans 3 for text (both self-hosted in site.css).
   Source Sans runs a little smaller than the old face, so text sizes go up a step. */
body { font-size: 17px; line-height: 1.55; }
.lead { font-size: 20px; line-height: 1.55; }
.small { font-size: 15px; }
.muted.small, .small.muted { font-size: 15px; }
.display, .h2, .h3, h1, h2, h3 { letter-spacing: -0.012em; font-feature-settings: "kern", "liga"; }
.display { letter-spacing: -0.018em; line-height: 1.04; }
.eyebrow, .kicker { letter-spacing: 0.1em; }
.card-title { font-size: 19px; }
.btn, .wp-block-button .wp-block-button__link { font-family: var(--sans); font-weight: 600; letter-spacing: 0.005em; }
input, select, textarea, button { font-family: var(--sans); }

/* Logo */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--accent); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--accent-dark); }
.brand::before { content: none; }
.brand .brand-mark { flex: 0 0 40px; color: var(--accent); }
.brand .wordmark { font-family: var(--logo); font-size: 30px; font-weight: 400; line-height: 1; letter-spacing: 0.005em; color: var(--accent); }
.brand .wordmark em { font-style: italic; }
.footer-logo { margin-bottom: 12px; }
.footer-logo .brand-mark { color: var(--white); }
.footer-logo .brand-mark rect { fill: transparent; }
.footer-logo .wordmark { color: var(--white); font-size: 26px; }
.site-footer .footer-logo:hover .wordmark { color: var(--accent-light); }
.wp-block-html { margin: 0; }

/* Header and banner */
.beta-banner { background: var(--accent-dark); color: #DCE4F2; }
.site-header { background: var(--bg); }

/* Buttons that were ochre/navy now Delfts blauw / diep kobalt */
.btn-dark:hover, .wp-block-button.is-style-dark .wp-block-button__link:hover { background: #18306F; }
.wp-block-button.is-style-light .wp-block-button__link, .btn-light { background: #FFFFFF; color: var(--accent-dark); }
.wp-block-button.is-style-light .wp-block-button__link:hover { background: var(--panel); }

/* Forms */
input[type=text], input[type=email], input[type=url], input[type=date], input[type=password], input[type=tel], input[type=search], select, textarea { border-color: #AEB9D0; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.placeholder-box { border-color: #B9C4DA; }
.badge-warn { background: var(--warn-bg); color: var(--accent-dark); }

/* Homepage: the bridge picture in the hero */
.hero-art { margin: 0; align-self: center; }
.hero-art img { display: block; width: 100%; height: auto; border-radius: 14px; }

/* Guarantee card as a wide band below the figures */
.guarantee-wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 16px 48px; align-items: start; padding: 40px 44px; }
.guarantee-wide > .row, .guarantee-wide > .wp-block-heading { grid-column: 1; }
.guarantee-wide > .check-list { grid-column: 2; grid-row: 1 / span 4; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.guarantee-wide > .guarantee, .guarantee-wide > .link-arrow { grid-column: 1; }

/* Small Delft details */
.card-dark { background: var(--ink); }
.card-dark .check-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8C9EC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}
.check-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B3F9E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}
.timeline > .wp-block-group::before { border-color: #A9B6D3; }
.card-dark .guarantee, .guarantee { color: var(--accent-light); }
.card .guarantee, .panel .guarantee { color: var(--accent-dark); }

@media (max-width: 900px) {
  .guarantee-wide { grid-template-columns: minmax(0, 1fr); padding: 26px; }
  .guarantee-wide > * { grid-column: 1 !important; grid-row: auto !important; }
  .guarantee-wide > .check-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .brand .wordmark { font-size: 26px; }
  .brand .brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
}

/* Home hero with picture: give the picture more room */
.hero:has(.hero-art) { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 900px) { .hero:has(.hero-art) { grid-template-columns: minmax(0, 1fr); } }

/* AI writer demo notice in brand colours */
.eibw-mode.notice { background: var(--panel); color: var(--accent-dark); }
