/* Dornier Trading website. Dornier brand: Barlow / Barlow Condensed (no Garamond),
   Battleship #455e7c, Denim #5e97c3, Poly #a4d2ed, Foam #d9ecf6, Powder #e9f4fa. */
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("/fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  --battleship: #455e7c;
  --denim: #5e97c3;
  --foam: #d9ecf6;
  --powder: #e9f4fa;
  --ink: #1f2a37;
  --muted: #5d6f84;
  --bg: #ffffff;
  --surface: #f4f9fc;
  --border: #d9ecf6;
  --accent: var(--battleship);
  --accent-ink: #ffffff;
  --link: #3f7fb3;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e6edf4;
    --muted: #a4b5c7;
    --bg: #141b24;
    --surface: #1b2430;
    --border: #2b394a;
    --accent: #a4d2ed;
    --accent-ink: #141b24;
    --link: #a4d2ed;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--link); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--denim);
  outline-offset: 2px;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--bg); padding: .5rem 1rem; z-index: 10; }

.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }

header.site { border-bottom: 1px solid var(--border); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; }
.brand img { width: 2.25rem; height: 2.25rem; }
.brand span { font: 700 1.5rem/1 "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .04em; text-transform: uppercase; }
nav.site a { color: var(--ink); text-decoration: none; font-weight: 500; }
nav.site a:hover { color: var(--link); }

main { flex: 1; }
h1, h2 { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; line-height: 1.1; color: var(--accent); }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin: 0 0 1rem; letter-spacing: .01em; }
h2 { font-size: 1.6rem; margin: 2rem 0 .5rem; font-weight: 600; }
.lead { font-size: 1.3rem; line-height: 1.5; max-width: 34rem; }

.hero { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 0 3rem; align-items: center; }
.hero figure { margin: 0; }
.hero img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: cover; border-radius: 6px; }
@media (min-width: 52rem) {
  .hero { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; padding: 4rem 0 5rem; }
  .hero img { max-height: 78vh; }
}

.button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: .75rem 1.5rem;
  border: 0;
  border-radius: 4px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 600 1.05rem/1.2 "Barlow", sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { filter: brightness(1.1); }

.page { max-width: 44rem; padding: 2.5rem 0 4rem; }
.page p, .page li { max-width: 40rem; }
.updated { color: var(--muted); font-size: .95rem; }

form.contact { display: grid; gap: 1.1rem; margin-top: 1.5rem; max-width: 34rem; }
form.contact label { display: grid; gap: .35rem; font-weight: 500; }
form.contact input, form.contact textarea {
  width: 100%;
  padding: .7rem .8rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
form.contact textarea { min-height: 10rem; resize: vertical; }
form.contact .button { justify-self: start; margin-top: .25rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.note { color: var(--muted); font-size: .95rem; }

footer.site { border-top: 1px solid var(--border); color: var(--muted); font-size: .95rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; padding-top: 1.25rem; padding-bottom: 1.5rem; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
footer.site a { color: var(--muted); }
