/* ONEMANCREW — basis: reset, typografie, layout, toegankelijkheid */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 0;
}

html,
body {
  margin: 0;
}

body {
  min-height: 100svh;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
  hyphens: manual;
}

h1 {
  font-size: var(--t-h1);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

h2 {
  font-size: var(--t-h2);
}

h3 {
  font-size: var(--t-h3);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--c-accent);
  color: var(--c-accent-ink);
}

/* Zichtbare focus: direct, zonder overgang */
:focus-visible {
  outline: 2px solid var(--c-amber);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--c-accent);
  color: var(--c-accent-ink);
  font-weight: 500;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* Layout */
.wrap {
  width: min(100% - 2 * var(--gut), var(--wrap));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  padding: var(--pad-top) 0 var(--pad-bottom);
  isolation: isolate;
}

.section__head {
  max-width: 46rem;
  margin-bottom: var(--s-7);
}

.section__head .lead {
  margin-top: var(--s-4);
}

@media (max-width: 639px) {
  .section__head {
    margin-bottom: var(--s-6);
  }
}

.lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--c-ink-soft);
  max-width: 38rem;
}

.muted {
  color: var(--c-ink-muted);
}

.eyebrow {
  margin-bottom: var(--s-4);
  font-size: var(--t-label);
  font-weight: 500;
  line-height: 1.3;
  color: var(--c-amber);
}

.tag {
  font-size: var(--t-label);
  font-weight: 500;
  line-height: 1.3;
  color: var(--c-amber);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s-5);
}

@media (max-width: 639px) {
  .grid {
    gap: var(--s-3);
  }
}

/* Sfeer: amber licht dat uit het donker komt, teal alleen als zachte gloed */
.glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow::before,
.glow::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.glow::before {
  width: min(62vw, 880px);
  aspect-ratio: 1;
  top: -12%;
  right: -14%;
  background: radial-gradient(closest-side, rgba(208, 115, 53, 0.3), rgba(208, 115, 53, 0.08) 55%, transparent);
}

.glow::after {
  width: min(48vw, 640px);
  aspect-ratio: 1;
  bottom: -18%;
  left: -12%;
  background: radial-gradient(closest-side, rgba(20, 138, 138, 0.2), rgba(20, 138, 138, 0.05) 55%, transparent);
}

.glow--left::before {
  right: auto;
  left: -16%;
  top: 4%;
}

.glow--left::after {
  left: auto;
  right: -10%;
  bottom: -10%;
}

.glow--low::before {
  top: auto;
  bottom: -30%;
  right: 12%;
}

.glow--low::after {
  bottom: auto;
  top: -20%;
  left: -8%;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
