/* brand.fiber.nl — static stylesheet */

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/nunito-sans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/nunito-sans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #37c6f4;
  --link: #0a7db3;
  --text: #555;
  --heading: #333;
  --line: #ddd;
  --dark-tile: #444;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 400 16px/1.75 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

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

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--heading); }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

h1, h2, h3 { color: var(--heading); font-weight: 700; line-height: 1.3; margin: 0; }

p, ul { margin: 0 0 .75em; }
p:last-child, ul:last-child { margin-bottom: 0; }
ul { padding-left: 1.25em; }

.wrap {
  width: 90%;
  max-width: var(--wrap);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}
.site-header .wrap { display: flex; align-items: center; min-height: 80px; padding: 1.25em 0; }
.site-header img { width: 180px; }

/* Hero */
.hero { background: var(--blue); color: #fff; padding: 4em 0; }
.hero h1 { color: #fff; font-size: calc(1.25em + 1.25vw); margin-bottom: .5em; }
.hero p { font-size: 1.125em; max-width: 46em; }

/* Content */
main { padding: 3em 0 4em; }

.group { margin-top: 3.5em; }
.group:first-child { margin-top: 0; }
.group > h2 { font-size: 1.75em; margin-bottom: .5em; }

.asset {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 1em 5.5%;
  padding: 2em 0;
  border-bottom: 1px solid var(--line);
}
.asset h3 { font-size: 1.5em; font-weight: 600; margin-bottom: .4em; }

.preview { margin: 0 0 1.25em; }
.preview + .dl-label { margin-top: 0; }
.downloads + .preview { margin-top: 2em; }
.preview--dark { background: var(--dark-tile); padding: 2em; }
.preview--wide img { width: min(100%, 420px); }
.preview--stacked img { max-height: 120px; width: auto; }
.preview--row img { max-height: 60px; width: auto; }
.preview--photo img { width: 100%; }

.dl-label { margin-bottom: .25em; }
.downloads a { font-weight: 700; }

/* Style guide link */
.doc-link {
  display: inline-flex;
  align-items: center;
  gap: .75em;
  text-decoration: none;
  font-weight: 600;
}
.doc-link svg { flex: none; width: 40px; height: 40px; fill: var(--blue); }

/* Footer */
.site-footer { background: var(--blue); color: #fff; padding: 2.5em 0; }
.site-footer .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em 5.5%;
  align-items: start;
}
.site-footer h3 { color: #fff; font-size: 1.125em; margin-bottom: .4em; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--heading); }
.site-footer img { width: 180px; }

@media (max-width: 980px) {
  .asset { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .footer-logo { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .wrap { width: auto; margin: 0 16px; }
  .site-header .wrap { min-height: 64px; }
  .site-header img { width: 140px; }
  .hero { padding: 2.5em 0; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
