/* Thomas Gajhede brand (okt. 2026).
   Anton + Barlow are self-hosted so the page does not call Google
   before a visitor answers the cookie banner. */

@font-face {
  font-family: Anton;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/anton-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;
}
@font-face {
  font-family: Barlow;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/barlow-500-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;
}
@font-face {
  font-family: Barlow;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/barlow-600-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 {
  --cream: #F3EFE4;
  --cream-2: #F3EADA;
  --ink: #111111;
  --ink-soft: #6F6F6F;
  --orange: #FF5A36;
  --blue: #3155FF;
  --dark: #111111;
  --paper: url("/assets/bg-paper.png");
  --fs-display: clamp(2.15rem, 0.85rem + 4.4vw, 6.6rem);
  --fs-h1: clamp(2.5rem, 1.8rem + 3.5vw, 5rem);
  --fs-h2: clamp(2rem, 1.5rem + 2.2vw, 3.5rem);
  --fs-h3: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --fs-lead: clamp(1.15rem, 1rem + 0.6vw, 1.6rem);
  --fs-body: 1.125rem;
  --fs-small: 0.875rem;
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream) var(--paper) repeat;
  background-size: 1080px auto;
  color: var(--ink);
  font-family: Barlow, system-ui, sans-serif;
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: 1.42;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
p { text-wrap: pretty; }
h1, h2, h3, .display {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
.display { font-size: var(--fs-display); }
.lead { font-size: var(--fs-lead); line-height: 1.42; }
.label {
  font-family: Barlow, system-ui, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: var(--fs-small);
  margin: 0;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
a:hover { color: var(--blue); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.sig {
  font-family: Barlow, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--fs-small);
}
.sig:hover { color: var(--blue); }

.box {
  position: relative;
  display: inline-block;
  z-index: 0;
  padding: 0 0.15em;
  transform: rotate(-2.6deg);
  white-space: nowrap;
  color: var(--ink);
}
.box::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: -0.07em;
  bottom: -0.08em;
  background: var(--orange);
}

.brush {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.brush svg {
  position: absolute;
  left: -2%;
  width: 104%;
  top: 100%;
  height: 0.45em;
  margin-top: 0.05em;
  fill: var(--blue);
}

.btn {
  display: inline-block;
  margin-top: 2rem;
  font-family: Barlow, system-ui, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--orange);
  color: var(--ink);
  padding: 0.9em 1.4em;
  border: 2px solid var(--ink);
  border-radius: 0;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s;
}
.btn:hover {
  transform: rotate(-2.6deg);
  color: var(--ink);
}
.btn--ghost { background: transparent; }
.btn--literal { text-transform: none; letter-spacing: 0; }
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-top: 2rem;
}
.actions .btn { margin-top: 0; }

.card {
  background: var(--cream-2);
  border: 2px solid var(--ink);
  padding: 1.75rem;
  border-radius: 0;
}
.card h3 { margin-bottom: 0.5rem; }
.card .label { color: var(--ink-soft); }

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  background: transparent;
}
.nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  align-items: center;
}
.nav a {
  font-family: Barlow, system-ui, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--ink);
}
.nav a:hover { color: var(--blue); }
.nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.footer {
  background: var(--dark);
  color: var(--cream);
  padding: 4rem 0;
}
.footer a,
.footer .sig { color: var(--cream); }
.footer a:hover,
.footer .sig:hover { color: var(--cream); }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  justify-content: space-between;
  align-items: center;
}
.footer__note {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: var(--fs-small);
}
.footer button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  color: var(--cream);
  font: 600 0.875rem/1 Barlow, system-ui, sans-serif;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
.footer button:hover { color: var(--cream); }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

@media (max-width: 700px) {
  .nav a { font-size: 0.75rem; letter-spacing: 0.08em; }
  .actions { display: grid; }
  .actions .btn { text-align: center; }
}
