/* PLYTLENT landing page. Mobile-first, no external fonts or dependencies.
   Contrast notes (checked with tests/contrast_check.py):
   - Coral #F15A38 is used as TEXT only on plum (4.78:1). On light backgrounds use --coral-deep.
   - Buttons on coral use ink text (5.3:1), not white (3.4:1). */

:root {
  --plum: #291D2D;
  --plum-2: #352639;
  --ivory: #F0E9DF;
  --coral: #F15A38;
  --coral-deep: #B8341A; /* derived darker coral for small text on ivory/white */
  --ink: #171719;
  --grey: #6D6870;
  --white: #FFFFFF;
  --on-plum-muted: #CFC7D3;
  --line-light: rgba(23, 23, 25, .14);
  --line-dark: rgba(240, 233, 223, .18);

  --font: "Segoe UI", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --radius: 18px;
  --maxw: 1160px;
  --gutter: 20px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
.section--plum :focus-visible, .hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--ivory); }
.section--coral :focus-visible { outline-color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ivory); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* Typography */
.display { font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.02; font-size: clamp(2rem, 6.2vw, 3.5rem); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--coral); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 12px; height: 18px; background: currentColor; transform: skewX(-20deg); }
.eyebrow--dark { color: var(--coral-deep); }
.eyebrow--ink { color: var(--ink); }
.big { font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.5; }
.note { color: var(--grey); margin-top: 14px; }
.section--plum .note, .hero .note { color: var(--on-plum-muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--plum); border-bottom: 1px solid var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.brand { display: block; line-height: 0; }
.brand img { height: 36px; width: auto; }
.nav-toggle { display: none; align-items: center; gap: 10px; background: transparent; border: 1.5px solid var(--line-dark); color: var(--ivory); padding: 9px 14px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.nav-toggle__bars::before { content: ""; position: absolute; top: 6px; left: 0; }
.nav-toggle__bars { margin-bottom: 6px; }

.site-nav ul { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.site-nav a { display: block; padding: 10px 14px; color: var(--ivory); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 999px; }
.site-nav a:hover { background: rgba(240, 233, 223, .1); }

/* Mobile nav: with JS it becomes a toggled panel; without JS the links stay visible. */
@media (max-width: 859px) {
  .header-inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .site-nav { flex-basis: 100%; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; padding: 8px 0 14px; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 14px 6px; border-bottom: 1px solid var(--line-dark); border-radius: 0; font-size: 1.05rem; }
}

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 800; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; text-align: center; text-decoration: none; padding: 15px 28px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--coral); color: var(--ink); }
.btn--primary:hover { background: #ff7048; }
.btn--ghost { border-color: rgba(240, 233, 223, .55); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--ivory); background: rgba(240, 233, 223, .08); }
.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink:hover { background: var(--plum); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--plum); color: var(--ivory); padding: 64px 0 72px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(240, 233, 223, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(240, 233, 223, .06) 1px, transparent 1px);
  background-size: 64px 64px; }
.hero__slash { position: absolute; z-index: -1; right: -12%; background: var(--coral); clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%); }
.hero__slash--a { top: 110px; width: 70%; max-width: 760px; height: 26px; opacity: .85; }
.hero__slash--b { top: 150px; width: 46%; max-width: 500px; height: 14px; opacity: .45; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 10vw, 5.6rem); margin-bottom: 22px; max-width: 11ch; }
.accent { color: var(--coral); }
.lead { font-size: clamp(1.1rem, 2.6vw, 1.4rem); color: var(--on-plum-muted); max-width: 34ch; }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 36px; padding: 9px 16px; border: 1px solid rgba(240, 233, 223, .3); border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); flex: none; animation: pulse 2.4s ease-in-out infinite; }
.hero__visual { display: none; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (min-width: 900px) {
  .hero { padding: 96px 0 104px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; }
  .hero__visual { display: block; animation: float 9s ease-in-out infinite; }
}

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section--ivory { background: var(--ivory); }
.section--white { background: var(--white); }
.section--plum { background: var(--plum); color: var(--ivory); }
.section--coral { background: var(--coral); color: var(--ink); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.narrow p + p, .contact__intro p + p { margin-top: 18px; }
.narrow .display { margin-bottom: 26px; }
.narrow p.big + p { margin-top: 18px; }
.section--coral .big { margin-bottom: 14px; }
.section--coral p:last-child { margin-top: 30px; }

/* Cards */
.cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line-light); }
.card--ivory { background: var(--ivory); border-color: transparent; }
.card h3 { font-size: 1.5rem; font-weight: 800; margin: 6px 0 10px; }
.concept { background: var(--white); }
.concept h3 { font-size: 1.2rem; text-transform: uppercase; font-style: italic; font-weight: 900; letter-spacing: -.005em; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); border: 1px solid var(--line-light); padding: 4px 10px; border-radius: 999px; }
.card--ivory .tag { border-color: rgba(23, 23, 25, .22); }

/* Vision steps */
.steps { display: grid; gap: 0; margin-top: 8px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.step { padding: 26px 0; border-top: 1px solid var(--line-dark); }
.step__num { display: block; font-size: 3rem; font-weight: 900; font-style: italic; color: var(--coral); line-height: 1; margin-bottom: 14px; }
.step h3 { font-size: 1.5rem; font-weight: 900; font-style: italic; text-transform: uppercase; margin-bottom: 8px; }
.step p { color: var(--on-plum-muted); }
.disclaimer { margin-top: 36px; padding: 14px 18px; border-left: 3px solid var(--coral); background: rgba(240, 233, 223, .06); color: var(--on-plum-muted); font-size: .95rem; max-width: 720px; }

/* Concept mockups: purely illustrative, no real data */
.mock { position: relative; height: 190px; margin-bottom: 22px; border-radius: 14px; background: var(--plum); color: var(--ivory); padding: 44px 20px 18px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.mock__tag { position: absolute; top: 12px; left: 14px; font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-plum-muted); border: 1px dashed rgba(240, 233, 223, .4); padding: 3px 9px; border-radius: 999px; }
.mock__bars { display: flex; align-items: flex-end; gap: 9px; height: 62px; }
.mock__bars i { flex: 1; background: rgba(240, 233, 223, .28); border-radius: 3px 3px 0 0; }
.mock__bars .b1 { height: 35%; } .mock__bars .b2 { height: 55%; } .mock__bars .b3 { height: 45%; }
.mock__bars .b4 { height: 70%; } .mock__bars .b5 { height: 60%; } .mock__bars .b6 { height: 92%; }
.mock__bars .hot { background: var(--coral); }
.mock__lines { display: grid; gap: 8px; }
.mock__lines i { display: block; height: 8px; border-radius: 4px; background: rgba(240, 233, 223, .22); }
.w80 { width: 80%; } .w60 { width: 60%; } .w40 { width: 40%; }
.mock__nodes { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 4px; }
.node { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ivory); background: rgba(240, 233, 223, .12); }
.node--hot { border-color: var(--coral); background: rgba(241, 90, 56, .25); }
.link { display: block; width: 90px; height: 2px; background: linear-gradient(90deg, var(--ivory), var(--coral)); }
.mock__chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.mock__chips i { font-style: normal; font-size: .7rem; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(240, 233, 223, .35); color: var(--on-plum-muted); }
.mock__lock { align-self: center; color: var(--coral); margin-bottom: -2px; }
.mock__lines--blur { filter: blur(2.5px); }

/* Contact */
.contact { display: grid; gap: 44px; }
@media (min-width: 900px) { .contact { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.callout { padding: 16px 18px; border-radius: 12px; background: var(--ivory); border-left: 4px solid var(--coral-deep); font-size: 1rem; margin-top: 26px; }
.callout--info { margin-top: 16px; border-left-color: var(--grey); }
.callout a { color: var(--ink); font-weight: 700; }
.form { display: grid; gap: 18px; align-content: start; background: var(--ivory); padding: 28px; border-radius: var(--radius); }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { font-weight: 700; font-size: .95rem; }
.optional { font-weight: 400; color: var(--grey); }
input[type="text"], input[type="email"], select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid var(--grey); border-radius: 10px; padding: 13px 14px; }
textarea { resize: vertical; min-height: 130px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--coral-deep); outline-offset: 1px; }
.field[data-invalid="true"] input, .field[data-invalid="true"] select, .field[data-invalid="true"] textarea { border-color: var(--coral-deep); }
.field-error { color: var(--coral-deep); font-size: .88rem; font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.field--check { grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; }
.field--check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--coral-deep); }
.field--check label { font-weight: 400; font-size: .92rem; }
.field--check .field-error { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 600; }
.form-status:empty { display: none; }
.form .btn { justify-self: start; }

/* Footer */
.site-footer { background: var(--ink); color: var(--ivory); padding: 56px 0 40px; }
.footer-inner { display: grid; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-mark { width: 72px; height: auto; }
.footer-name { font-weight: 900; font-style: italic; letter-spacing: .04em; font-size: 1.3rem; }
.footer-tag { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; margin-top: 2px; }
.footer-cat { color: var(--on-plum-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { text-decoration: none; font-weight: 600; padding: 6px 0; display: inline-block; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { color: var(--on-plum-muted); font-size: .88rem; }
@media (min-width: 860px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line-dark); }
}

/* Legal page (privacy.html) */
.legal { padding: 56px 0 96px; background: var(--white); }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 12px; }
.legal h2 { font-size: 1.35rem; font-weight: 800; margin: 40px 0 10px; }
.legal p, .legal li { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--coral-deep); font-weight: 600; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line-light); }
.legal th { background: var(--ivory); }
.draft-banner { background: var(--ink); color: var(--ivory); padding: 14px 0; font-weight: 600; font-size: .95rem; }
.draft-banner strong { color: var(--coral); }
mark.confirm { background: #FFE3A3; color: var(--ink); padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.back-link { display: inline-block; margin-bottom: 24px; font-weight: 700; }

/* Motion: subtle, and always optional */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Language switch (links to the other domain) */
.site-nav .nav-lang a { border: 1px solid var(--line-dark, rgba(240, 233, 223, .35)); }
@media (max-width: 859px) { .site-nav .nav-lang a { border: 0; border-bottom: 1px solid var(--line-dark); } }

/* Long words (e.g. Dutch compounds such as "sportrecruitment") must wrap instead of causing sideways scrolling */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
.legal th, .legal td { overflow-wrap: anywhere; }
@media (max-width: 520px) { .legal table { font-size: .85rem; } .legal th, .legal td { padding: 8px; } }
