:root {
  --ink: #102426;
  --paper: #f7f3eb;
  --paper-soft: #fffaf1;
  --line: rgba(16, 36, 38, 0.18);
  --teal: #0a7069;
  --teal-dark: #073f42;
  --copper: #bd6d36;
  --gold: #e5b84f;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(16, 36, 38, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top left, rgba(229, 184, 79, 0.34), transparent 32rem),
    linear-gradient(135deg, #f9f4ea 0%, #ecf4ef 48%, #f6efe7 100%);
  color: var(--ink);
  margin: 0;
  min-height: 100vh;
}

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

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: clamp(18px, 3vw, 42px);
}

.topbar {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1320px;
  width: 100%;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 850;
}

.brand img {
  height: 46px;
  width: 46px;
}

.topbar p {
  color: rgba(16, 36, 38, 0.7);
  font-size: 0.98rem;
  font-weight: 650;
  margin: 0;
  text-align: right;
}

.hero {
  align-items: center;
  display: grid;
  flex: 1;
  gap: clamp(24px, 4vw, 44px);
  grid-template-rows: auto 1fr;
  margin: 0 auto;
  max-width: 1320px;
  padding: clamp(38px, 6vw, 76px) 0 0;
  width: 100%;
}

.intro {
  max-width: 770px;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.55rem, 7vw, 6.9rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin: 0;
  max-width: 980px;
}

.intro p:last-child {
  color: rgba(16, 36, 38, 0.78);
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  line-height: 1.65;
  margin: 22px 0 0;
  max-width: 780px;
}

.choice-grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: clamp(430px, 52vh, 590px);
  position: relative;
}

.choice-grid::before {
  background: #49382c;
  border: 3px solid #2d231c;
  box-shadow: inset 8px 0 rgba(255, 255, 255, 0.06), 0 14px 22px rgba(16, 36, 38, 0.2);
  content: "";
  height: 158px;
  left: 50%;
  position: absolute;
  top: 20px;
  transform: translateX(-50%);
  width: 20px;
  z-index: 3;
}

.choice-card {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  box-shadow: var(--shadow);
  isolation: isolate;
  min-height: 430px;
  overflow: hidden;
  padding: clamp(18px, 2.3vw, 30px);
  position: relative;
  transform: translateZ(0);
}

.choice-card img,
.card-overlay {
  inset: 0;
  position: absolute;
}

.choice-card img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 420ms ease, filter 420ms ease;
  width: 100%;
  z-index: -2;
}

.card-overlay {
  background:
    linear-gradient(180deg, rgba(7, 63, 66, 0.18), rgba(7, 63, 66, 0.82)),
    linear-gradient(90deg, rgba(7, 63, 66, 0.77), rgba(7, 63, 66, 0.26));
  z-index: -1;
}

.administratie .card-overlay {
  background:
    linear-gradient(180deg, rgba(68, 40, 17, 0.05), rgba(31, 44, 47, 0.78)),
    linear-gradient(90deg, rgba(31, 44, 47, 0.72), rgba(92, 61, 31, 0.24));
}

.choice-card:hover img,
.choice-card:focus-visible img {
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.055);
}

.choice-card:focus-visible {
  outline: 4px solid rgba(229, 184, 79, 0.75);
  outline-offset: 4px;
}

.direction,
.card-copy,
.card-action {
  position: relative;
  z-index: 1;
}

.direction {
  align-items: center;
  background: #164f49;
  box-shadow:
    inset 0 0 0 3px #e4d1a2,
    inset 0 0 0 6px rgba(17, 44, 40, 0.5),
    0 9px 18px rgba(8, 29, 29, 0.34);
  color: #fff4cf;
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 700;
  height: 58px;
  justify-content: center;
  letter-spacing: 0.03em;
  position: absolute;
  text-transform: uppercase;
  top: 28px;
  width: min(78%, 310px);
}

.direction::before,
.direction::after {
  background: #caa96a;
  border: 1px solid #705938;
  border-radius: 50%;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.55);
  content: "";
  height: 8px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
}

.direction::before {
  left: 30px;
}

.direction::after {
  right: 30px;
}

.ict .direction {
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0 50%);
  padding: 0 24px 0 42px;
  right: 20px;
}

.administratie .direction {
  clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
  left: 20px;
  padding: 0 42px 0 24px;
}

.card-copy {
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100% - 82px);
  padding-top: 140px;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.34);
}

.label {
  color: #ffe4a2;
  font-size: 0.86rem;
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.card-copy strong {
  font-size: clamp(2rem, 3.6vw, 4.2rem);
  letter-spacing: 0;
  line-height: 0.98;
  max-width: 680px;
}

.card-copy span:last-child {
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  font-weight: 560;
  line-height: 1.55;
  margin-top: 18px;
  max-width: 610px;
}

.card-action {
  align-items: center;
  background: var(--white);
  border-radius: 8px;
  color: var(--teal-dark);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  margin-top: 24px;
  min-height: 48px;
  padding: 13px 18px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  width: fit-content;
}

.choice-card:hover .card-action,
.choice-card:focus-visible .card-action {
  background: var(--gold);
  color: #1c261f;
  transform: translateY(-2px);
}

@media (max-width: 860px) {
  .page-shell {
    padding: 16px;
  }

  .topbar {
    align-items: flex-start;
  }

  .topbar p {
    font-size: 0.88rem;
    max-width: 170px;
  }

  .hero {
    padding-top: 34px;
  }

  .choice-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .choice-grid::before {
    display: none;
  }

  .choice-card {
    min-height: 420px;
  }
}

@media (max-width: 520px) {
  .topbar {
    gap: 14px;
  }

  .brand span {
    display: none;
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 4.4rem);
  }

  .intro p:last-child {
    font-size: 1rem;
    line-height: 1.55;
  }

  .choice-card {
    min-height: 390px;
    padding: 16px;
  }

  .direction {
    font-size: 0.98rem;
    height: 52px;
    top: 18px;
    width: min(76%, 285px);
  }

  .ict .direction {
    padding-left: 38px;
    right: 16px;
  }

  .administratie .direction {
    left: 16px;
    padding-right: 38px;
  }

  .card-copy {
    min-height: calc(100% - 72px);
    padding-top: 94px;
  }

  .card-copy strong {
    font-size: clamp(1.85rem, 10.2vw, 3rem);
  }

  .card-copy span:last-child {
    font-size: 0.97rem;
  }
}
