/* Bosch Websites: the pages under /websites/. Same board, ink and fonts as the portfolio
   (assets/css/site.css), set for reading. Nothing loads from other servers. */
@font-face {
  font-family: 'Baloo 2';
  src: url('/assets/fonts/baloo2.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('/assets/fonts/spacemono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --board: #f2e4c8;
  --board-deep: #e6d3ae;
  --ink: #2b1c08;
  --ink-soft: #7c6746;
  --rule: rgba(43, 28, 8, .14);
  --orange: #f0854a;
  --paper: rgba(250, 244, 228, .72);
}
@media (prefers-color-scheme: dark) {
  :root {
    --board: #1b1610;
    --board-deep: #110d08;
    --ink: #f0e7d5;
    --ink-soft: #ac9d80;
    --rule: rgba(240, 231, 213, .14);
    --paper: rgba(17, 13, 8, .55);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--board);
  background-image: url('/assets/img/board-felt.png');
  background-size: 260px 242px;
  color: var(--ink);
  font: 18px/1.6 'Baloo 2', ui-rounded, 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page { max-width: 46rem; margin: 0 auto; padding: 0 16px 3rem; }

header { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
         flex-wrap: wrap; padding: 1.75rem 0 1rem; border-bottom: 1px solid var(--rule); }
.brand { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.15rem; }
.label { font-family: 'Space Mono', ui-monospace, monospace; font-size: .78rem; letter-spacing: .04em;
         text-transform: uppercase; color: var(--ink-soft); }

main { background: var(--paper); border-radius: 14px; padding: .5rem 1.5rem 1.5rem; margin-top: 1.5rem; }
h1 { font-size: 2.1rem; line-height: 1.15; font-weight: 800; margin: 1.25rem 0 .4rem; }
h2 { font-size: 1.2rem; line-height: 1.3; font-weight: 700; margin: 1.9rem 0 .2rem; }
p, ul { margin: .4rem 0 .8rem; }
ul { padding-left: 1.3rem; }
li { margin: .25rem 0; }
.lead { font-size: 1.08rem; color: var(--ink-soft); }
.note { border-left: 4px solid var(--orange); padding: .3rem 0 .3rem 1rem; }
address { font-style: normal; }
code { font-family: 'Space Mono', ui-monospace, monospace; font-size: .85em; }

a { color: inherit; text-decoration: underline; text-decoration-color: var(--orange);
    text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; }
a:focus-visible { outline: 3px dashed var(--orange); outline-offset: 3px; }

footer { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--rule);
         display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; color: var(--ink-soft); font-size: .95rem; }
footer a { color: var(--ink-soft); }

@media (max-width: 520px) {
  body { font-size: 17px; }
  main { padding: .25rem 1rem 1rem; }
  h1 { font-size: 1.75rem; }
}
