:root {
  --bg: #f6f6f4;
  --fg: #1a1a1a;
  --muted: #6a6a6a;
  --accent: #c2410c;
  --rule: #d8d6d0;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}
main {
  width: 100%;
  max-width: 36rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.brand-link {
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: none;
}
.brand-link .accent { color: var(--accent); }
.brand-link:hover { color: var(--accent); }

nav {
  font-size: 0.9rem;
  color: var(--muted);
}
nav a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
nav a:hover {
  color: var(--fg);
  border-bottom-color: var(--accent);
}
nav a[aria-current="page"] {
  color: var(--fg);
  border-bottom-color: var(--accent);
}
nav a[aria-current="page"]::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.35em;
  vertical-align: -0.15em;
  background: url('/logo.svg') center / contain no-repeat;
}
nav .sep {
  margin: 0 0.5rem;
  color: var(--rule);
}

h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 600;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}
h1 .accent { color: var(--accent); }
h1.page-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 1.25rem;
  text-transform: lowercase;
}
h1.page-title::before { content: '❯ '; color: var(--accent); }

.tagline {
  color: var(--muted);
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.5;
}
.reel {
  display: inline-block;
  height: 1.5em;
  width: 8ch;
  overflow: hidden;
  vertical-align: top;
  text-align: left;
}
.reel-track {
  display: block;
  animation: reel 7s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.reel-track > span {
  display: block;
  height: 1.5em;
  color: var(--accent);
  font-weight: 600;
}
@keyframes reel {
  0%, 18%   { transform: translateY(0); }
  20%, 38%  { transform: translateY(-1.5em); }
  40%, 58%  { transform: translateY(-3em); }
  60%, 78%  { transform: translateY(-4.5em); }
  80%, 98%  { transform: translateY(-6em); }
  100%      { transform: translateY(-7.5em); }
}
@media (prefers-reduced-motion: reduce) {
  .reel-track { animation: none; }
}

p { margin: 0 0 1rem; }

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2rem 0;
}
section { margin: 0; }
.label {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: lowercase;
  margin: 0 0 0.5rem;
}
.label::before { content: '❯ '; color: var(--accent); }
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
li { margin: 0.15rem 0; }
.services ul { margin-top: 0.5rem; }
.services li {
  margin: 0.6rem 0;
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.services li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}
a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.15s ease;
}
a:hover { border-color: var(--accent); }
.kvk {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 2rem;
}
footer {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 3rem;
}
footer::before { content: '// '; color: var(--accent); }

.project {
  margin: 1.5rem 0;
}
.project-logo {
  display: block;
  height: 1.75rem;
  width: auto;
  margin: 0 0 0.75rem;
}
.project-wordmark {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.75rem;
  margin: 0 0 0.75rem;
}
.project-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 0.4rem;
}

.ask-form {
  margin: 1.5rem 0;
}
.ask-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.75rem;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  resize: vertical;
}
.ask-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.ask-meta {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0.4rem 0 0.75rem;
}
.ask-form button {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--fg);
  color: var(--bg);
  border: none;
  padding: 0.6rem 1.1rem;
  border-radius: 4px;
  cursor: pointer;
}
.ask-form button:hover:not(:disabled) {
  background: var(--accent);
}
.ask-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.ask-output {
  margin: 1.5rem 0;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  gap: 1.25rem 1.5rem;
  align-items: center;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}
.logo-grid img,
.logo-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  border-bottom: none;
}
.logo-grid img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.logo-grid a:hover { border-bottom: none; }
.logo-caption {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}
