@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/marcellus-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/hanken-grotesk-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/hanken-grotesk-latin-500.woff2") format("woff2"); }

  :root {
    --ink: #0d0a07;
    --ink-2: #16110b;
    --line: rgba(240, 176, 64, .28);
    --line-strong: rgba(240, 176, 64, .7);
    --gold-hi: #f6c765;
    --gold: #e0a030;
    --gold-lo: #a06010;
    --text: #efe6d6;
    --muted: #b9ab93;
    --display: "Marcellus", "Cinzel", "Times New Roman", serif;
    --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  }

  * { box-sizing: border-box; margin: 0; }
  html { -webkit-text-size-adjust: 100%; }

  body {
    min-height: 100vh;
    min-height: 100svh;
    background:
      radial-gradient(ellipse 70% 55% at 50% 30%, rgba(224, 160, 48, .13), transparent 70%),
      var(--ink);
    color: var(--text);
    font-family: var(--body);
    line-height: 1.55;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
  }

  /* fijne korrel, zodat het zwart niet vlak aanvoelt */
  body::before {
    content: "";
    position: fixed; inset: 0;
    pointer-events: none;
    opacity: .06;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  }

  main {
    flex: 1;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: clamp(40px, 9vh, 96px) 24px clamp(32px, 6vh, 64px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(32px, 6vh, 56px);
    position: relative;
  }

  /* ====== Logo met verfstreek-onthulling ====== */
  .logo {
    width: min(100%, 620px);
    height: auto;
    display: block;
    filter: drop-shadow(0 0 40px rgba(224, 160, 48, .18));
  }
  .logo .stroke {
    fill: none;
    stroke: #fff;
    stroke-width: 120;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: paint 1.5s cubic-bezier(.55, .1, .25, 1) forwards;
  }
  .logo .s2 { animation-delay: .22s; }
  .logo .s3 { animation-delay: .44s; }
  @keyframes paint { to { stroke-dashoffset: 0; } }

  /* ====== Sierlijn, echo van het ruitje in het logo ====== */
  .rule {
    display: flex;
    align-items: center;
    gap: 14px;
    width: min(100%, 420px);
    opacity: 0;
    animation: rise .8s ease 1.5s forwards;
  }
  .rule::before, .rule::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-lo) 40%, var(--gold-hi));
  }
  .rule::after { transform: scaleX(-1); }
  .rule i {
    width: 9px; height: 9px;
    background: var(--gold);
    transform: rotate(45deg);
  }

  /* ====== Contact ====== */
  .contact {
    width: 100%;
    display: grid;
    gap: clamp(20px, 3.5vh, 32px);
    justify-items: center;
    opacity: 0;
    animation: rise .9s ease 1.65s forwards;
  }
  .contact h1 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(1.7rem, 4.2vw, 2.5rem);
    letter-spacing: .02em;
    text-align: center;
    background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .plates {
    list-style: none;
    padding: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .plates > li { display: flex; }
  .plate {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px 24px 24px;
    min-height: 168px;
    color: var(--text);
    text-decoration: none;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0)), var(--ink-2);
    overflow: hidden;
    isolation: isolate;
    transition: border-color .35s ease, transform .35s ease;
  }
  /* gouden vlak dat omhoog schuift bij hover */
  .plate::before {
    content: "";
    position: absolute; inset: 0;
    z-index: -1;
    background: linear-gradient(160deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo));
    transform: translateY(101%);
    transition: transform .45s cubic-bezier(.6, .05, .2, 1);
  }
  .plate svg {
    width: 30px; height: 30px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke .35s ease;
  }
  .plate .what {
    font-family: var(--display);
    font-size: 1.55rem;
    line-height: 1.1;
    margin-top: auto;
    transition: color .35s ease;
  }
  .plate .value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted);
    overflow-wrap: anywhere;
    transition: color .35s ease;
  }

  .plate:hover, .plate:focus-visible { border-color: var(--line-strong); }
  .plate:hover::before, .plate:focus-visible::before { transform: translateY(0); }
  .plate:hover svg, .plate:focus-visible svg { stroke: var(--ink); }
  .plate:hover .what, .plate:focus-visible .what,
  .plate:hover .value, .plate:focus-visible .value { color: var(--ink); }
  .plate:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
  .plate:active { transform: scale(.985); }

  footer {
    padding: 0 24px 28px;
    text-align: center;
    color: var(--muted);
    font-size: .875rem;
    opacity: 0;
    animation: rise .8s ease 1.9s forwards;
  }

  @keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
  }

  @media (max-width: 760px) {
    .plates { grid-template-columns: 1fr; gap: 12px; }
    .plate {
      flex-direction: row;
      align-items: center;
      gap: 18px;
      min-height: 0;
      padding: 20px 22px;
    }
    .plate .text { display: grid; gap: 2px; }
    .plate .what { margin-top: 0; font-size: 1.35rem; }
  }
  @media (min-width: 761px) {
    .plate .text { display: contents; }
  }

  @media (prefers-reduced-motion: reduce) {
    .logo .stroke { animation: none; stroke-dashoffset: 0; }
    .rule, .contact, footer { animation: none; opacity: 1; }
    .plate, .plate::before, .plate svg, .plate .what, .plate .value { transition: none; }
  }
