/* Start page of luchtinbeeld.nl in the Lucht in beeld brand (docs/huisstijl.md). */
@font-face {
  font-family: 'Figtree Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(/fonts/figtree-latin-ext.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Figtree Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(/fonts/figtree-latin.woff2) format('woff2-variations');
  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 {
  color-scheme: light;
  --brand: #1a5de8;
  --brand-night: #0b1f4a;
  --brand-gradient: linear-gradient(180deg, #0b1f4a 0%, #1d4fb8 62%, #2f74ff 100%);
  --text: #121a2c;
  --muted: #586078;
  --border: #dfe4ec;
  --surface-2: #f6f8fb;
  --focus-ring: 0 0 0 3px rgba(26, 93, 232, 0.4);
  --font: 'Figtree Variable', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
}

a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 6px;
}

.nowrap {
  white-space: nowrap;
}

.hero-inner,
main,
.foot {
  width: min(1080px, 100% - 32px);
  margin-inline: auto;
}

/* The name: lower case, the dot of the i one more particle. */
.wordmark {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  text-decoration: none;
}

.wordmark-i {
  position: relative;
}

.wordmark-i::after {
  position: absolute;
  top: 0.1em;
  left: 50%;
  width: 0.23em;
  height: 0.23em;
  border-radius: 50%;
  background: #8db6ff;
  transform: translateX(-50%);
  content: '';
}

/* The sky from night to day, with the mark drifting through it. */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--brand-gradient);
  color: #fff;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 26px 0 clamp(56px, 9vw, 104px);
}

.hero-text {
  max-width: 640px;
  padding-top: clamp(48px, 9vw, 112px);
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 1.5rem + 5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.lead {
  margin: 22px 0 0;
  max-width: 560px;
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem);
  color: #d6e4ff;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-night);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s;
}

.cta:hover {
  transform: translateY(-1px);
}

.cta:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6);
  border-radius: 999px;
}

.hero-particles {
  position: absolute;
  right: max(-40px, calc(50% - 640px));
  bottom: -60px;
  width: min(560px, 70vw);
  height: auto;
  fill: #fff;
  opacity: 0.12;
  pointer-events: none;
}

.entries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(28px, 4vw, 48px);
  padding: clamp(44px, 7vw, 80px) 0;
}

.entries-title {
  grid-column: 1 / -1;
  margin: 0 0 -8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--muted);
}

.entry {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.entry img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  transition: border-color 0.15s;
}

.entry:hover img {
  border-color: #c3cbd9;
}

.entry-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.entry h3 {
  margin: 2px 0 6px;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--brand-night);
}

.entry p {
  margin: 0 0 12px;
}

.entry-link {
  margin-top: auto;
  font-weight: 700;
  color: var(--brand);
}

.entry:hover .entry-link {
  text-decoration: underline;
}

.foot {
  padding: 24px 0 40px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--muted);
}

.foot p {
  margin: 0 0 4px;
}

.foot a {
  color: inherit;
}

/* The 404 page: the same sky, shorter. */
.hero-short .hero-inner {
  padding-bottom: 72px;
}

.hero-short .lead a {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .entry img,
  .cta {
    transition: none;
  }
}
