/* ==========================================================================
   Studio Lus Delft · qr.studiolusdelft.nl
   Eén kaart met linkjes. Zelfde palet en letters als de site.
   ========================================================================== */

@font-face {
  font-family: 'ABC Marist';
  src: url('fonts/abc-marist-book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ABC Marist Fallback';
  src: local('Times New Roman');
  ascent-override: 88.52%;
  descent-override: 26.94%;
  line-gap-override: 0%;
  size-adjust: 103.94%;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dm-sans-variable.woff2') format('woff2');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans Fallback';
  src: local('Helvetica Neue'), local('Arial');
  ascent-override: 96.5%;
  descent-override: 25.5%;
  line-gap-override: 0%;
  size-adjust: 97%;
}

:root {
  --peach:   #FFE5D6;
  --mauve:   #C8A3B1;
  --apricot: #F7B38B;
  --cobalt:  #0047FF;
  --rose:    #E5C1B7;
  --plum:    #5A3F56;
  --ivory:   #FBF3E8;
  --ink-quiet: #76596F;
  --line:    #E6D8CC;

  --font-display: 'ABC Marist', 'ABC Marist Fallback', Georgia, serif;
  --font-text: 'DM Sans', 'DM Sans Fallback', system-ui, -apple-system, sans-serif;
}

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

body {
  margin: 0;
  min-height: 100dvh;
  padding: clamp(1.25rem, 5vw, 2.5rem) clamp(1rem, 5vw, 2rem) 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: var(--peach);
  color: var(--plum);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  max-width: 27rem;
  padding: clamp(1.75rem, 6vw, 2.5rem) clamp(1.25rem, 5vw, 2rem) clamp(1.5rem, 5vw, 2rem);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 1px 2px rgb(90 63 86 / 0.04), 0 18px 40px -24px rgb(90 63 86 / 0.35);
  text-align: center;
}

.logo {
  width: clamp(6rem, 26vw, 7.5rem);
  height: auto;
  margin: 0 auto 1rem;
  display: block;
}

/* Het logo zegt de naam al; de h1 blijft voor schermlezers. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  text-align: left;
}

.link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.8125rem 1rem;
  min-height: 3.5rem;
  border: 1px solid var(--rose);
  border-radius: 0.875rem;
  background: #fff;
  color: var(--plum);
  text-decoration: none;
  transition: border-color 140ms ease, background-color 140ms ease, transform 140ms ease;
}

.icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: var(--peach);
  color: var(--plum);
}

.icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.link .label {
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.005em;
}

.link .hint {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ink-quiet);
}

.link:hover {
  border-color: var(--plum);
  background: var(--peach);
}

.link:active { transform: scale(0.99); }

.link:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 2px;
}

/* Eén primaire actie: Instagram. Kobalt met witte tekst (6.3:1). */
.link-primary {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #fff;
}

.link-primary .hint { color: rgb(255 255 255 / 0.82); }

.link-primary .icon {
  background: rgb(255 255 255 / 0.18);
  color: #fff;
}

.link-primary:hover {
  background: #2A64FF;
  border-color: #2A64FF;
}

.foot a:hover { color: var(--plum); }

/* Donkere modus: hetzelfde warme gevoel, iets getemperd. */
@media (prefers-color-scheme: dark) {
  body { background: #2E2029; color: var(--ivory); }
  .card { background: #3A2A35; border-color: #4C3844; box-shadow: 0 18px 40px -24px #000; }
  .lede, .link .hint { color: #D8C6D2; }
  .link { background: #47323F; border-color: #5A4250; color: var(--ivory); }
  .link:hover { background: #553B4B; border-color: var(--apricot); }
  .link-primary { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
  .link-primary .hint { color: rgb(255 255 255 / 0.82); }
  .link-primary .icon { background: rgb(255 255 255 / 0.18); color: #fff; }
  .link-primary:hover { background: #2A64FF; border-color: #2A64FF; }
  .note { background: #47323F; border-color: #5A4250; color: var(--ivory); }
  .icon { background: #553B4B; color: var(--ivory); }
  .foot a:hover { color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
