/* De Ruys: gedeelde opmaak. Kleuren komen uit de zaak zelf (oranje muur, zwart-witte tegelvloer). */
@font-face { font-family: 'Archivo'; src: url(../fonts/archivo.woff2) format('woff2'); font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url(../fonts/plex-mono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url(../fonts/plex-mono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --oranje: #ee5a24;      /* de muur */
  --oranje-diep: #c23f12; /* tekstkleur op licht, genoeg contrast */
  --tegel: #141414;       /* zwarte tegel */
  --wit: #f4f4f1;         /* witte tegel */
  --glas: rgba(250,250,248,.8);
  --display: 'Archivo', 'Arial Narrow', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body { font-family: var(--display); color: var(--tegel); background: var(--tegel); -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background: url(../media/vloer.webp) center / cover; filter: saturate(.9) brightness(.92); }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Knoppen: pilvorm */
.knop { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: .95em 1.5em; background: var(--oranje); color: #fff; font: 500 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; transition: background .2s, transform .2s; }
.knop:hover { background: var(--oranje-diep); }
.knop.donker { background: var(--tegel); }
.knop.donker:hover { background: #2b2b2b; }
.knop.licht { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.knop.licht:hover { background: rgba(20,20,20,.06); }
a:focus-visible, .knop:focus-visible { outline: 2px solid var(--oranje); outline-offset: 3px; }

/* Kop: glazen pil. Op de homepage schuift hij in beeld na de hero, op andere pagina's staat hij er meteen. */
.kop { position: fixed; z-index: 10; top: 16px; left: 50%; width: min(1080px, calc(100% - 32px)); transform: translate(-50%, -130%); transition: transform .6s cubic-bezier(.2,.8,.2,1);
  display: flex; align-items: center; gap: 28px; padding: 9px 9px 9px 26px; border-radius: 999px;
  background: rgba(250,250,248,.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 10px 40px rgba(0,0,0,.18); }
.kop.zichtbaar { transform: translate(-50%, 0); }
.kop .merk { font-family: var(--display); font-variation-settings: 'wdth' 110; font-weight: 700; font-size: 22px; letter-spacing: -.01em; white-space: nowrap; }
.kop ul { display: flex; list-style: none; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.kop li + li { border-left: 2px solid var(--oranje); }
.kop li a { padding: 2px 14px; }
.kop li a:hover { color: var(--oranje-diep); }
.kop .knop { margin-left: auto; position: relative; overflow: hidden; background: var(--tegel); border-radius: 999px; padding: .95em 1.6em; }
.kop .knop svg { width: 14px; height: 14px; }
.kop .knop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); animation: glans 3.6s ease-in-out infinite 1s; }
@keyframes glans { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* Hero (homepage) */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: grid; place-items: center; color: #fff; text-align: center; }
.hero video, .hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(0,0,0,.18), rgba(0,0,0,.5)); }
.hero .midden { position: relative; z-index: 1; padding: 0 16px; }
.hero h1 { font-family: var(--display); font-variation-settings: 'wdth' 125; font-weight: 800; font-size: clamp(64px, 13.5vw, 230px); line-height: .86; letter-spacing: -.035em; text-transform: uppercase; text-shadow: 0 6px 40px rgba(0,0,0,.25); }
.hero h1 small { display: block; font-size: 13px; line-height: 1.6; font-family: var(--mono); font-weight: 400; letter-spacing: .08em; text-shadow: none; margin-bottom: 18px; }
.hero .adres { margin-top: 26px; font: 400 13px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.hero .adres b { color: #ffb08f; font-weight: 500; white-space: nowrap; }
.cue { position: absolute; z-index: 1; bottom: 26px; left: 50%; transform: translateX(-50%); font: 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.cue::after { content: ''; display: block; width: 1px; height: 34px; margin: 10px auto 0; background: rgba(255,255,255,.7); animation: zak 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes zak { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Zwevende foto's en glazen kaarten over de tegelvloer */
.zweef { position: relative; padding: 14vh 6vw 10vh; display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; align-items: start; }
.foto { border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.glas { padding: 34px 36px; border-radius: 18px; background: var(--glas); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.glas h2 { font-family: var(--display); font-variation-settings: 'wdth' 125; font-weight: 800; font-size: clamp(26px, 2.6vw, 38px); line-height: 1; text-transform: uppercase; letter-spacing: -.02em; }
.glas dl { margin-top: 22px; display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; font: 14px/1.45 var(--mono); }
.glas dt { color: var(--oranje-diep); font-weight: 500; }
.glas p { margin-top: 16px; font: 14px/1.6 var(--mono); }
.glas .let { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: rgba(238,90,36,.1); font: 13px/1.5 var(--mono); }
.glas .let a, .glas p a, .proza a { text-decoration: underline; text-decoration-color: var(--oranje); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.glas .knoppen { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.f1 { grid-column: 1 / 8; aspect-ratio: 3 / 2; }
.f2 { grid-column: 9 / 13; aspect-ratio: 4 / 5; margin-top: 22vh; }
.machines { grid-column: 2 / 7; margin-top: -8vh; }
.f3 { grid-column: 8 / 12; aspect-ratio: 1; margin-top: 6vh; }

.bezoek { position: relative; padding: 4vh 6vw 12vh; display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; align-items: start; scroll-margin-top: 90px; }
.bezoek .open { grid-column: 1 / 6; }
.bezoek .f4 { grid-column: 7 / 13; aspect-ratio: 3 / 2; margin-top: 10vh; }
.bezoek .waar { grid-column: 3 / 8; margin-top: -6vh; }
.machines, .open, .waar { scroll-margin-top: 90px; }

.vragen { position: relative; padding: 0 6vw 14vh; }
.vragen .glas { max-width: 1080px; margin: 0 auto; }
.vragen ul { list-style: none; margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.vragen li a { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 100%; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.7); font: 500 14px/1.35 var(--mono); transition: background .2s; }
.vragen li a::after { content: '→'; color: var(--oranje-diep); }
.vragen li a:hover { background: #fff; }

/* Inhoudspagina's */
.paginakop { position: relative; min-height: 62svh; display: grid; align-items: end; color: #fff; overflow: hidden; }
.paginakop > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.paginakop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.62)); }
.paginakop .binnen { position: relative; z-index: 1; width: min(1080px, 100%); margin: 0 auto; padding: 130px 16px 56px; }
.paginakop .pad { font: 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.paginakop .pad a:hover { color: #ffb08f; }
.paginakop h1 { margin-top: 14px; font-family: var(--display); font-variation-settings: 'wdth' 125; font-weight: 800; font-size: clamp(38px, 7vw, 96px); line-height: .92; letter-spacing: -.03em; text-transform: uppercase; text-shadow: 0 6px 40px rgba(0,0,0,.25); max-width: 16ch; }
.artikel { position: relative; width: min(1080px, 100%); margin: -40px auto 0; padding: 0 16px 14vh; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.artikel > .glas { padding: 40px 44px; }
.proza { font: 16px/1.7 var(--mono); }
.proza > * + * { margin-top: 1em; }
.proza .intro { font-family: var(--display); font-variation-settings: 'wdth' 100; font-size: 21px; line-height: 1.45; font-weight: 500; }
.proza h2 { margin-top: 1.8em; font-family: var(--display); font-variation-settings: 'wdth' 125; font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.05; text-transform: uppercase; letter-spacing: -.015em; }
.proza ul { padding-left: 1.2em; }
.proza li + li { margin-top: .4em; }
.proza li::marker { color: var(--oranje); }
.proza table { width: 100%; border-collapse: collapse; font-size: 14px; }
.proza th, .proza td { text-align: left; padding: 9px 10px 9px 0; border-bottom: 1px solid rgba(20,20,20,.12); vertical-align: top; }
.proza th { font-weight: 500; color: var(--oranje-diep); }
.zijkant { position: sticky; top: 96px; display: grid; gap: 22px; }
.zijkant .glas { padding: 28px; }
.zijkant .glas h2 { font-size: 22px; }
.zijkant .glas dl { grid-template-columns: 1fr; gap: 2px; font-size: 13px; }
.zijkant .glas dd + dt { margin-top: 12px; }
.zijkant .knop { width: 100%; }

/* Voet */
.voet { position: relative; background: var(--tegel); color: #e9e9e4; padding: 64px 6vw 28px; font: 14px/1.6 var(--mono); }
.voet .rij { width: min(1080px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.voet .merk { font-family: var(--display); font-variation-settings: 'wdth' 125; font-weight: 800; font-size: 34px; line-height: 1; text-transform: uppercase; letter-spacing: -.02em; color: #fff; }
.voet h2 { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #ffb08f; margin-bottom: 14px; }
.voet address { font-style: normal; margin-top: 16px; }
.voet ul { list-style: none; }
.voet li + li { margin-top: 6px; }
.voet a:hover { color: #ffb08f; }
.voet .klein { margin-top: 10px; font-size: 12px; color: #a9a9a3; }
.voet .klein a { text-decoration: underline; text-underline-offset: 3px; }
.voet .onder { width: min(1080px, 100%); margin: 48px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12px; color: #a9a9a3; }
.voet .mtbeek { display: inline-flex; align-items: center; gap: 10px; color: #c9c9c3; transition: color .2s; }
.voet .mtbeek svg { height: 18px; width: auto; }
.voet .mtbeek:hover { color: #fff; }

@media (max-width: 900px) {
  .artikel { grid-template-columns: 1fr; margin-top: -28px; }
  .zijkant { position: static; }
  .voet .rij { grid-template-columns: 1fr 1fr; }
  .voet .rij > :first-child { grid-column: 1 / 3; }
}
@media (max-width: 760px) {
  .kop { gap: 10px; padding: 7px 7px 7px 18px; top: 10px; width: calc(100% - 20px); }
  .kop ul { display: none; }
  .kop .merk { font-size: 19px; }
  .kop .knop { padding: .9em 1.25em; }
  .zweef, .bezoek { grid-template-columns: 1fr 1fr; padding: 10vh 16px 8vh; gap: 16px; }
  .bezoek { padding-top: 0; }
  .f1 { grid-column: 1 / 3; }
  .f2 { grid-column: 2 / 3; margin-top: 0; }
  .machines { grid-column: 1 / 3; margin-top: 0; }
  .glas { padding: 26px 22px; }
  .f3 { grid-column: 1 / 2; grid-row: 2; margin-top: 12vh; }
  .bezoek .open, .bezoek .waar { grid-column: 1 / 3; margin-top: 0; }
  .bezoek .f4 { grid-column: 1 / 3; margin-top: 0; }
  .vragen { padding: 0 16px 10vh; }
  .artikel > .glas { padding: 28px 22px; }
  .proza { font-size: 15px; }
  .proza .intro { font-size: 19px; }
  .paginakop .binnen { padding-top: 110px; padding-bottom: 50px; }
  .voet { padding: 48px 16px 24px; }
  .voet .rij { grid-template-columns: 1fr; gap: 28px; }
  .voet .rij > :first-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
