/* Lijstenmakerij Jacob Loef
   Basis uit de Winkelierweb-template: alleen reset en toegankelijkheid.
   Al het andere (fonts, kleuren, layout, menu, open/gesloten-status, animaties) is per winkel uniek
   en schrijf je hieronder bij "Design". De class-afspraken met js/main.js staan in index.html. */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; line-height: 1.5; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }

/* ---------- Toegankelijkheid ---------- */
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Design ---------- */
/* Concept: de wand van de lijstenmaker. Foto's hangen in verstek gezaagde lijsten met passe-partout
   aan een ophangrail (het railophangsysteem uit het assortiment); teksten staan op titelkaartjes.
   De geel-witte strepen komen van de luifel van de winkel. */

@font-face { font-family: "Caslon Display"; src: url("/fonts/libre-caslon-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Caslon Text"; src: url("/fonts/libre-caslon-text-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Caslon Text"; src: url("/fonts/libre-caslon-text-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Archivo Narrow"; src: url("/fonts/archivo-narrow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --wall: #f4efe4;
  --paper: #fcf9f2;
  --ink: #231c15;
  --muted: #5c5145;
  --line: #d9cfbb;
  --brick: #8c3b27;
  --awning: #f0b93a;
  --gold: #b8892b;
  --gold-light: #e6c577;
  --green: #1d2a25;
  --display: "Caslon Display", "Libre Caslon Display", Georgia, "Times New Roman", serif;
  --text: "Caslon Text", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --caps: "Archivo Narrow", "Arial Narrow", Arial, sans-serif;
  --drop: 56px;
}

html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { background: var(--wall); color: var(--ink); font-family: var(--text); font-size: 1.0625rem; line-height: 1.65; overflow-x: hidden; }
a { color: inherit; }
.wrap { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }
.skip-link { background: var(--ink); color: var(--paper); }

h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: -.01em; }
h2 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
.kicker { font-family: var(--caps); font-weight: 600; font-size: .8125rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brick); margin-bottom: 1rem; }
.kicker--gold { color: var(--gold-light); }

/* ---------- Luifel ---------- */
.awning { height: 12px; background: repeating-linear-gradient(90deg, var(--awning) 0 26px, var(--paper) 26px 52px); border-bottom: 1px solid rgba(35, 28, 21, .18); }

/* ---------- Header ---------- */
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; position: relative; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand__mark { width: 2.5rem; height: 2.5rem; flex: none; background: var(--paper); border: .5rem solid; border-color: #d4ab55 #a67c2c #7d5a18 #bd9340; box-shadow: 0 2px 5px rgba(35, 28, 21, .25); }
.brand__text { display: grid; line-height: 1; }
.brand__kicker { font-family: var(--caps); font-weight: 600; font-size: .75rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.brand__name { font-family: var(--display); font-size: 1.7rem; margin-top: .2rem; }

.nav-toggle { font-family: var(--caps); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .875rem; background: none; border: 1px solid var(--ink); padding: .7rem 1rem; cursor: pointer; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { font-family: var(--caps); font-weight: 600; font-size: .9375rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; display: block; padding: .8rem 0; }
.site-nav a:hover { color: var(--brick); }
.site-nav__tel { color: var(--brick); }
@media (max-width: 1023px) {
  .site-nav { position: absolute; z-index: 20; top: 100%; left: -1.25rem; right: -1.25rem; background: var(--paper); border-block: 1px solid var(--line); padding: .5rem 1.25rem 1rem; box-shadow: 0 18px 30px -18px rgba(35, 28, 21, .5); }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .js .site-nav:not(.is-open) { display: none; }
  .no-js .nav-toggle { display: none; }
  .no-js .site-nav { position: static; box-shadow: none; }
  .no-js .site-header__inner { flex-wrap: wrap; }
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav ul { display: flex; align-items: center; gap: 1.6rem; }
  .site-nav a { padding: .4rem 0; border-bottom: 2px solid transparent; }
  .site-nav a:hover { border-color: currentColor; }
  .site-nav__tel { border: 1px solid currentColor !important; padding: .55rem .9rem !important; }
  .site-nav__tel:hover { background: var(--brick); color: var(--paper); border-color: var(--brick) !important; }
}

/* ---------- Rail, draden en lijsten ---------- */
.rail { height: 7px; background: linear-gradient(#fff 0, #d8d2c6 35%, #a9a294 100%); box-shadow: 0 2px 3px rgba(35, 28, 21, .22); }
.hang { position: relative; width: fit-content; margin-top: var(--drop); }
.hang::before, .hang::after { content: ""; position: absolute; bottom: 100%; width: 1px; height: var(--drop); background: rgba(35, 28, 21, .5); }
.hang::before { left: 16%; }
.hang::after { right: 16%; }

.frame { border: 16px solid; background: var(--paper); padding: clamp(14px, 3.2vw, 26px); box-shadow: 0 22px 34px -16px rgba(35, 28, 21, .55), 0 2px 5px rgba(35, 28, 21, .3); }
.frame img { box-shadow: 0 0 0 3px #fff, 0 0 0 4px #cdc2ab; }
/* vier tinten per lijst: de randen ontmoeten elkaar vanzelf in verstek */
.frame--gold { border-color: #dab562 #a67c2c #7d5a18 #c0973f; outline: 1px solid #f0d99a; outline-offset: -5px; }
.frame--walnut { border-color: #6a4528 #4a2f1a #2f1d10 #573821; }
.frame--black { border-width: 10px; border-color: #3b3733 #24211e #14120f #2f2b28; }
.shelf .frame { padding: 5px; background: linear-gradient(135deg, #e6c577, #a67c2c); }
.shelf .frame img { box-shadow: none; width: 100%; }

.label { background: var(--paper); border: 1px solid var(--line); padding: .8rem 1rem .85rem; box-shadow: 0 1px 2px rgba(35, 28, 21, .12); max-width: 17rem; font-size: .9375rem; line-height: 1.45; }
.label__title { font-family: var(--caps); font-weight: 600; font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; margin: 0; }
.label__sub { color: var(--muted); font-style: italic; }

/* ---------- Open/gesloten ---------- */
.open-status { display: flex; align-items: baseline; gap: .5rem; font-family: var(--caps); font-weight: 600; font-size: .9375rem; letter-spacing: .03em; }
.open-status__dot { flex: none; width: .6rem; height: .6rem; border-radius: 50%; background: #9a8f80; transform: translateY(-1px); }
.open-status[data-open="true"] .open-status__dot { background: #2c7a4b; box-shadow: 0 0 0 4px rgba(44, 122, 75, .18); }
.open-status[data-open="false"] .open-status__dot { background: var(--brick); }
.label .open-status { margin-top: .6rem; padding-top: .6rem; border-top: 1px solid var(--line); }

/* ---------- Knoppen: messing naamplaatjes ---------- */
.btn { display: inline-block; font-family: var(--caps); font-weight: 600; font-size: .9375rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: .95rem 1.4rem; border: 1px solid var(--ink); box-shadow: inset 0 0 0 3px var(--wall), inset 0 0 0 4px rgba(35, 28, 21, .35); transition: background-color .2s, color .2s; }
.btn:hover { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px var(--gold-light); }
.btn--solid { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px var(--gold-light); }
.btn--solid:hover { background: var(--brick); border-color: var(--brick); box-shadow: inset 0 0 0 3px var(--brick), inset 0 0 0 4px var(--gold-light); }
.link { color: var(--brick); text-underline-offset: .25em; font-family: var(--caps); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .9375rem; }
.link:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { overflow: hidden; padding-bottom: clamp(3rem, 7vw, 5rem); }
.rail--desk { display: none; }
.hero__grid { display: grid; gap: 2.5rem; }
.hero__text { padding-top: clamp(2rem, 6vw, 3.5rem); }
.hero h1 { font-size: clamp(3.1rem, 13.5vw, 4.6rem); }
.hero h1 span { display: block; font-style: normal; color: var(--brick); }
.hero__lead { font-size: 1.1875rem; line-height: 1.6; max-width: 31rem; margin-top: 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.rail--mob { margin-inline: -1.25rem; }
.hero__hung { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.25rem; }
.hang--hero img { width: 170px; }
.hero__hung .label { margin-bottom: .25rem; flex: 1 1 9rem; }
.shelf { margin-top: clamp(2.5rem, 6vw, 3.5rem); border-bottom: 9px solid #c9bfa9; box-shadow: 0 12px 14px -10px rgba(35, 28, 21, .4); }
.shelf .frame { width: fit-content; max-width: 100%; margin-inline: auto; }
@media (min-width: 900px) {
  .rail--desk { display: block; }
  .rail--mob { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: start; }
  .hero h1 { font-size: clamp(4.6rem, 8vw, 6.6rem); }
  .hero__hung { flex-wrap: nowrap; flex-direction: row-reverse; }
  .hang--hero { --drop: 48px; }
  .hang--hero img { width: 205px; }
  .hero__hung .label { flex: none; width: 11.5rem; margin-bottom: 1.5rem; }
}

/* ---------- Secties ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section__head { margin-bottom: 2.5rem; }
.section--wall { background: linear-gradient(var(--paper), var(--wall) 60%); border-top: 1px solid var(--line); }

/* Lijstenmakerij: catalogus met lijsthoeken */
.split { display: grid; gap: 2.5rem; }
.split__head p:not(.kicker) { margin-top: 1.25rem; max-width: 28rem; color: var(--muted); }
.catalog { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.catalog__item { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.catalog h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.1; }
.catalog p { color: var(--muted); font-style: italic; }
.corner { width: 3.4rem; height: 3.4rem; border-style: solid; border-width: .9rem 0 0 .9rem; transition: transform .35s; }
.catalog__item:hover .corner { transform: translate(-3px, -3px); }
.corner--wood { border-color: #8a5a34 transparent transparent #6a4326; }
.corner--alu { border-width: .45rem 0 0 .45rem; border-color: #c2c6c9 transparent transparent #8f9498; }
.corner--gold { border-color: #dab562 transparent transparent #a67c2c; }
.corner--rail { border-width: 5px 0 0 0; border-color: #a9a294; background: linear-gradient(rgba(35, 28, 21, .55), rgba(35, 28, 21, .55)) 30% 0 / 1px 45% no-repeat, linear-gradient(rgba(35, 28, 21, .55), rgba(35, 28, 21, .55)) 70% 0 / 1px 45% no-repeat, linear-gradient(var(--ink), var(--ink)) 50% 62% / 62% 42% no-repeat; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 6fr; gap: 5rem; align-items: start; }
  .split__head { position: sticky; top: 2rem; }
}

/* Kunsthandel: titelblad van een prent */
.prints { background: var(--green); color: var(--wall); padding-block: clamp(3.5rem, 8vw, 6rem); }
.plate { text-align: center; border: 1px solid rgba(230, 197, 119, .7); outline: 1px solid rgba(230, 197, 119, .35); outline-offset: 6px; padding: clamp(2.5rem, 7vw, 5rem) clamp(1.25rem, 5vw, 4rem); margin: 7px; }
.plate h2 { font-size: clamp(2.8rem, 8.5vw, 6rem); color: var(--gold-light); }
.plate__lead { font-style: italic; font-size: 1.1875rem; margin-top: 1rem; }
.plate__rule { width: 5rem; height: 5px; margin: 2.5rem auto; border-block: 1px solid var(--gold-light); }
.plate__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem; }
.plate__list li { display: grid; gap: .2rem; }
.plate__year { font-family: var(--display); font-size: clamp(3.4rem, 9vw, 5rem); line-height: 1; color: var(--gold-light); }
.plate__name { font-family: var(--caps); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .9375rem; margin-top: .6rem; }
.plate__what { font-style: italic; }
@media (min-width: 760px) {
  .plate__list { grid-template-columns: 1fr 1fr; gap: 0; }
  .plate__list li + li { border-left: 1px solid rgba(230, 197, 119, .4); }
}

/* Werkplaats: twee lijsten aan de rail */
.gallery { display: grid; gap: 3rem; padding-bottom: 1rem; }
.gallery__item { display: grid; justify-items: center; gap: 1.5rem; }
.gallery .label { width: 100%; max-width: 20rem; }
.gallery h3 { font-size: .875rem; }
.hang--a { --drop: 44px; }
.hang--b { --drop: 72px; }
.hang--a img { width: min(100%, 400px); }
.hang--b img { width: min(100%, 360px); }
@media (min-width: 900px) {
  .gallery { grid-template-columns: 1fr 1fr; align-items: start; }
  .hang--b { --drop: 110px; }
}

/* Reviews: kaartjes uit het gastenboek */
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: 2.5rem; }
.score { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.score__num { font-family: var(--display); font-size: 4rem; line-height: 1; color: var(--brick); }
.score__meta { font-family: var(--caps); font-weight: 600; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; }
.score__stars { display: block; width: fit-content; font-size: 1.15rem; letter-spacing: .15em; background: linear-gradient(90deg, var(--gold) 90%, #cfc5b0 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.score:hover .score__meta { color: var(--brick); }
.quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.quote { background: var(--paper); border: 1px solid var(--line); padding: 1.75rem 1.75rem 1.5rem; display: grid; gap: 1.25rem; align-content: space-between; box-shadow: 0 14px 22px -18px rgba(35, 28, 21, .45); position: relative; }
.quote::before { content: ""; position: absolute; top: -1px; left: 1.75rem; width: 3rem; height: 4px; background: var(--awning); }
.quote blockquote p { font-style: italic; font-size: 1.25rem; line-height: 1.5; }
.quote__by { font-family: var(--caps); font-weight: 600; font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; }
.quote__by span { color: var(--muted); letter-spacing: .06em; text-transform: none; margin-left: .4rem; }
.reviews__more { margin-top: 2rem; }
@media (min-width: 760px) {
  .quotes { grid-template-columns: 1fr 1fr; }
  .quote:nth-child(1) blockquote p, .quote:nth-child(2) blockquote p { font-size: 1.4rem; }
}

/* Bezoek */
.visit__grid { display: grid; gap: 1rem; padding-bottom: 1rem; }
.visit__info { padding-top: 2.5rem; font-size: 1.125rem; }
.visit address strong { font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1.2; }
.visit__tel { margin-top: .75rem; }
.visit__tel a { font-family: var(--display); font-size: clamp(2.2rem, 6vw, 3rem); line-height: 1.1; color: var(--brick); text-decoration: none; }
.visit__tel a:hover { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
.visit .open-status { margin-top: 1rem; font-size: 1rem; }
.facts { margin: 1.75rem 0 0; max-width: 30rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.facts dt { font-family: var(--caps); font-weight: 600; font-size: .8125rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brick); }
.facts dd { margin: .3rem 0 0; font-size: 1.0625rem; }
.hang--hours { --drop: 48px; width: min(100%, 26rem); justify-self: center; }
.frame--mat { padding: clamp(1.25rem, 4vw, 2rem); box-shadow: inset 0 0 0 2px #d4ab55, 0 22px 34px -16px rgba(35, 28, 21, .55), 0 2px 5px rgba(35, 28, 21, .3); }
.hours { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.hours caption { font-family: var(--display); font-size: 1.9rem; line-height: 1.1; text-align: left; padding-bottom: 1rem; }
.hours th, .hours td { padding: .55rem 0; border-top: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours .is-closed th, .hours .is-closed td { color: var(--muted); font-style: italic; }
.hours .is-today th, .hours .is-today td { font-family: var(--caps); font-weight: 600; font-style: normal; letter-spacing: .04em; color: var(--ink); }
.hours .is-today th::before { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-right: .5rem; background: var(--awning); border: 1px solid var(--gold); transform: rotate(45deg) translateY(-1px); }
@media (min-width: 900px) {
  .visit__grid { grid-template-columns: 1fr auto; gap: 4rem; align-items: start; }
  .visit__info { padding-top: 3.5rem; }
  .hang--hours { --drop: 64px; width: 26rem; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--green); color: var(--wall); }
.site-footer__inner { padding-block: 3rem; display: grid; gap: .5rem; text-align: center; }
.site-footer__name { font-family: var(--caps); font-weight: 600; font-size: .8125rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }
.site-footer__name span { display: block; font-family: var(--display); font-size: 2.4rem; letter-spacing: 0; text-transform: none; color: var(--wall); margin-top: .3rem; line-height: 1.1; }
.site-footer a { text-underline-offset: .2em; }
.site-footer__small { font-size: .9375rem; color: #c9c2b3; }

/* ---------- 404 ---------- */
.lost { min-height: 78vh; display: grid; place-items: start center; text-align: center; padding-bottom: 3rem; }
.lost .frame { width: min(100%, 30rem); padding: clamp(2rem, 7vw, 3.5rem) 1.5rem; }
.lost h1 { font-size: clamp(2.4rem, 8vw, 3.6rem); }
.lost p { margin-top: 1rem; color: var(--muted); }
.lost .btn { margin-top: 2rem; }
.lost .hang { margin-inline: auto; --drop: 70px; }

/* ---------- Animatie: tekst schuift in, lijsten slingeren uit aan hun draden ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .hang.reveal { transform: rotate(-2.2deg); transform-origin: 50% calc(var(--drop) * -1); transition: opacity .4s ease; }
  .js .hang.reveal.is-visible { animation: uitslingeren 1.8s cubic-bezier(.3, .6, .4, 1) both; }
  .catalog__item:nth-child(2), .quote:nth-child(2) { transition-delay: .08s; }
  .catalog__item:nth-child(3), .quote:nth-child(3) { transition-delay: .16s; }
  .catalog__item:nth-child(4), .quote:nth-child(4) { transition-delay: .24s; }
}
@keyframes uitslingeren {
  0% { opacity: 0; transform: rotate(-2.2deg); }
  25% { opacity: 1; transform: rotate(1.3deg); }
  50% { transform: rotate(-.7deg); }
  75% { transform: rotate(.3deg); }
  100% { opacity: 1; transform: rotate(0); }
}
