/* Nimbusden Koffiebranderij — het huisblad, our own small stylesheet.
   Everything here is prefixed nb- so nothing of ours can wander into
   somebody else's page, or the other way round.
   Flexbox throughout; cream paper, espresso lettering, one burnt orange. */

:root {
  --nb-cream: #f5efe6;
  --nb-linen: #fdf8f1;
  --nb-oat: #f1e7d9;
  --nb-sand: #ece0cf;
  --nb-espresso: #3b2a21;
  --nb-cocoa: #4a382d;
  --nb-bark: #554034;
  --nb-taupe: #6b5547;
  --nb-stone: #7a6354;
  --nb-ash: #96806f;
  --nb-edge: #ded2c2;
  --nb-edge-warm: #c8b8a3;
  --nb-edge-dot: #d8ccbb;
  --nb-burnt: #c25a1e;
  --nb-burnt-deep: #a3460f;
  --nb-linkbrown: #8a4318;
  --nb-hand: "Trebuchet MS", "Lucida Grande", Verdana, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--nb-cream);
  color: var(--nb-espresso);
  font-family: var(--nb-hand);
  font-size: 17px;
  line-height: 1.62;
}

a { color: var(--nb-linkbrown); }
a:hover { color: var(--nb-burnt); }

h1, h2, h3 { font-weight: bold; line-height: 1.22; margin: 0 0 0.5em; }
h1 { font-size: 30px; letter-spacing: 0.01em; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }

p { margin: 0 0 1em; }

hr.nb-divider {
  border: 0;
  border-top: 1px solid var(--nb-edge);
  margin: 34px 0;
}

/* ---------- the frame the whole page sits in ---------- */

.nb-frame {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 940px;
  margin: 0 auto;
  padding: 0 22px;
}

.nb-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 26px 0 16px;
  border-bottom: 2px solid var(--nb-espresso);
}

.nb-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--nb-espresso);
}

.nb-mark-text { display: flex; flex-direction: column; }

.nb-mark-name {
  font-size: 25px;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nb-mark-sub {
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--nb-stone);
}

.nb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 4px;
}

.nb-nav a {
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--nb-bark);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.nb-nav a:hover { color: var(--nb-burnt); border-bottom-color: var(--nb-burnt); }
.nb-nav a.nb-on { color: var(--nb-espresso); border-bottom-color: var(--nb-espresso); }

.nb-main { flex: 1 1 auto; padding: 30px 0 10px; }

.nb-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 9px 14px;
  margin: 0 0 26px;
  background: var(--nb-sand);
  border-left: 5px solid var(--nb-burnt);
  font-size: 14px;
  color: var(--nb-bark);
}

/* ---------- the opening of each page ---------- */

.nb-opening {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-bottom: 34px;
}

.nb-opening-words { flex: 1 1 330px; }
.nb-opening-art { flex: 0 1 300px; display: flex; justify-content: center; }
.nb-opening-art svg { width: 100%; height: auto; max-width: 320px; }

.nb-intro { font-size: 19px; color: var(--nb-cocoa); }

.nb-overline {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nb-burnt);
  margin: 0 0 8px;
}

.nb-button {
  display: inline-block;
  margin-top: 6px;
  padding: 9px 20px;
  background: var(--nb-burnt);
  color: var(--nb-linen);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nb-button:hover { background: var(--nb-burnt-deep); color: var(--nb-linen); }

/* ---------- the three tiles on the front ---------- */

.nb-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 0 30px;
}

.nb-tile {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 20px;
  background: var(--nb-linen);
  border: 1px solid var(--nb-edge);
}

.nb-tile h3 { margin-bottom: 6px; }
.nb-tile p { font-size: 15px; color: #574538; }
.nb-tile .nb-more { margin-top: auto; font-size: 14px; }

/* ---------- the counter list ---------- */

.nb-list { display: flex; flex-direction: column; gap: 34px; }

.nb-list-group { display: flex; flex-direction: column; }

.nb-list-group > h2 {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--nb-edge);
}

.nb-list-note { font-size: 15px; color: var(--nb-taupe); margin-top: 4px; }

.nb-list-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 11px 0;
  border-bottom: 1px dotted var(--nb-edge-dot);
}

.nb-list-item .nb-what { flex: 1 1 220px; display: flex; flex-direction: column; }
.nb-list-item .nb-what strong { font-size: 17px; }
.nb-list-item .nb-what span { font-size: 14px; color: var(--nb-taupe); }

.nb-price {
  flex: 0 0 auto;
  font-size: 17px;
  color: var(--nb-espresso);
  min-width: 62px;
  text-align: right;
}

.nb-price em { font-style: normal; color: var(--nb-burnt); }

/* ---------- what stands on the shelf ---------- */

.nb-shelf { display: flex; flex-direction: column; gap: 26px; }

.nb-shelf-item {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 20px;
  background: var(--nb-linen);
  border: 1px solid var(--nb-edge);
}

.nb-shelf-art { flex: 0 0 96px; display: flex; align-items: flex-start; justify-content: center; }
.nb-shelf-body { flex: 1 1 320px; }

.nb-shelf-body h3 { margin-bottom: 2px; }

.nb-shelf-origin {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nb-stone);
  margin: 0 0 10px;
}

.nb-labels { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }

.nb-label {
  font-size: 13px;
  padding: 2px 10px;
  border: 1px solid var(--nb-edge-warm);
  color: var(--nb-bark);
  background: var(--nb-oat);
}

.nb-shelf-facts { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0; padding: 0; }
.nb-shelf-facts div { display: flex; flex-direction: column; font-size: 14px; }
.nb-shelf-facts dt { color: var(--nb-stone); }
.nb-shelf-facts dd { margin: 0; color: var(--nb-espresso); }

/* ---------- when the door is open ---------- */

.nb-hours {
  display: flex;
  flex-direction: column;
  max-width: 420px;
  border-top: 1px solid var(--nb-edge);
}

.nb-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--nb-edge);
  font-size: 16px;
}

.nb-hours-row .nb-day { color: var(--nb-bark); }
.nb-hours-row .nb-shut { color: var(--nb-ash); }
.nb-hours-row.nb-today { background: var(--nb-oat); font-weight: bold; }
.nb-hours-head {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nb-stone);
  padding-bottom: 6px;
}

/* ---------- the long telling, with its side nooks ---------- */

.nb-tale { display: flex; flex-wrap: wrap; gap: 32px; }
.nb-tale-main { flex: 2 1 380px; }
.nb-tale-side { flex: 1 1 230px; }

.nb-tale-side .nb-nook {
  padding: 16px 18px;
  background: var(--nb-linen);
  border: 1px solid var(--nb-edge);
  margin-bottom: 20px;
  font-size: 15px;
}

.nb-tale-main blockquote {
  margin: 22px 0;
  padding: 4px 0 4px 18px;
  border-left: 4px solid var(--nb-burnt);
  font-size: 18px;
  color: var(--nb-cocoa);
}

.nb-crew { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 10px; }
.nb-crew-member { flex: 1 1 200px; font-size: 15px; }
.nb-crew-member strong { display: block; }
.nb-crew-member span { color: var(--nb-stone); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- finding the door ---------- */

.nb-cols { display: flex; flex-wrap: wrap; gap: 34px; }
.nb-col { flex: 1 1 300px; }
.nb-col address { font-style: normal; margin-bottom: 14px; }

.nb-plan { border: 1px solid var(--nb-edge); background: var(--nb-linen); padding: 10px; }
.nb-plan svg { width: 100%; height: auto; display: block; }
.nb-plan figcaption { font-size: 13px; color: var(--nb-stone); padding-top: 8px; }

.nb-writeform { display: flex; flex-direction: column; gap: 14px; max-width: 480px; }
.nb-field { display: flex; flex-direction: column; gap: 5px; }
.nb-field label { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nb-bark); }

.nb-field input,
.nb-field select,
.nb-field textarea {
  font-family: var(--nb-hand);
  font-size: 16px;
  color: var(--nb-espresso);
  background: var(--nb-linen);
  border: 1px solid var(--nb-edge-warm);
  padding: 8px 10px;
}

.nb-field textarea { min-height: 130px; resize: vertical; }
.nb-field input:focus, .nb-field select:focus, .nb-field textarea:focus { outline: 2px solid var(--nb-burnt); outline-offset: 1px; }

.nb-send {
  align-self: flex-start;
  display: inline-block;
  font-family: var(--nb-hand);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 22px;
  background: var(--nb-espresso);
  color: var(--nb-cream);
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.nb-send:hover { background: var(--nb-burnt); color: var(--nb-cream); }

.nb-fineprint { font-size: 14px; color: var(--nb-taupe); }

/* ---------- the bottom of the page ---------- */

.nb-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 36px;
  margin-top: 40px;
  padding: 22px 0 32px;
  border-top: 2px solid var(--nb-espresso);
  font-size: 14px;
  color: var(--nb-bark);
}

.nb-foot-block { flex: 1 1 230px; }
.nb-foot-block strong { color: var(--nb-espresso); }
.nb-foot-fine { color: var(--nb-stone); }

@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: 25px; }
  .nb-head { align-items: flex-start; }
  .nb-price { text-align: left; min-width: 0; }
}
