/* Miliro · www.miliro.be
   Two brand colours from the logo passport (A Brand Collective, 2024): lavender Pantone 2635 C and
   dark green Pantone 4203 C, on a warm paper white. Sections alternate between the three, as in
   the agency's homepage design. Components use the section tokens (--bg, --fg, --accent…), never
   raw colours, so every component works on every section. */

@font-face{font-family:"Albert Sans";src:url(/fonts/albert-sans-latin.c2fb6fda.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}

:root {
  --lavender: #c5b4e3;
  --lavender-soft: #e7def3;
  --lavender-line: #a48fca;
  --green: #2e483e;
  --green-deep: #24392f;
  --green-line: #4d6a5e;
  --paper: #f5f6f0;
  --paper-sunken: #eaede3;
  --white: #fff;

  --font: 'Brockmann', 'Albert Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
  --wrap: 78rem;
  --gutter: clamp(1.25rem, 4.5vw, 4.25rem);
  --section: clamp(4rem, 9vw, 8rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --arch: 999px 999px var(--radius-sm) var(--radius-sm);
  /* A faint paper grain on the light planes: handmade, not glossy. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .18 0 0 0 0 .28 0 0 0 0 .24 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --text-sm: 0.875rem;
  --text: 1.0625rem;
  --lead: clamp(1.125rem, 1.4vw, 1.3rem);
  --h3: clamp(1.25rem, 1.8vw, 1.5rem);
  --display-sm: clamp(2rem, 3.6vw, 3rem);
  --display: clamp(2.5rem, 5.4vw, 4.6rem);

  /* Section tokens: paper by default. */
  --bg: var(--paper);
  --fg: var(--green);
  --muted: #4c6359;
  --line: rgba(46, 72, 62, 0.22);
  --accent-bg: var(--green);
  --accent-fg: var(--paper);
  --soft-bg: var(--paper-sunken);
  --focus: var(--green);
  color-scheme: light;
}

.section--lavender,
.theme-lavender .site-header {
  --bg: var(--lavender);
  --fg: var(--green);
  --muted: #2e483e;
  --line: rgba(46, 72, 62, 0.35);
  --accent-bg: var(--green);
  --accent-fg: var(--lavender-soft);
  --soft-bg: var(--lavender-soft);
  --focus: var(--green);
}

.section--green,
.theme-green .site-header,
.notice {
  --bg: var(--green);
  --fg: var(--lavender);
  --muted: #dcd2ee;
  --line: rgba(197, 180, 227, 0.35);
  --accent-bg: var(--lavender);
  --accent-fg: var(--green);
  --soft-bg: var(--green-deep);
  --focus: var(--lavender);
}

.section--paper,
.theme-paper .site-header {
  --bg: var(--paper);
  --fg: var(--green);
}

/* ------------------------------------------------------------------------------------------ */
/* Base */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--green);
  font-family: var(--font);
  font-size: var(--text);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

address {
  font-style: normal;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
  line-height: 1.1;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--lavender);
  color: var(--green);
}

.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;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--green);
  color: var(--paper);
  border-radius: var(--radius-sm);
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.narrow {
  max-width: calc(46rem + 2 * var(--gutter));
}

.section,
.page-head,
[class*='section--'] {
  background: var(--bg);
  color: var(--fg);
}

.section {
  padding-block: var(--section);
}

.section--tight {
  padding-top: 0;
}

.page-head {
  padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3rem, 6vw, 5rem);
}

/* ------------------------------------------------------------------------------------------ */
/* Type */

.display {
  font-size: var(--display);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 400;
}

.display--small {
  font-size: var(--display-sm);
  line-height: 1.06;
}

.wrap > .display--small:not(:last-child) {
  margin-bottom: clamp(1.75rem, 3.5vw, 3rem);
}

.h3,
.prose h2,
.prose h3 {
  font-size: var(--h3);
  font-weight: 500;
  line-height: 1.25;
}

.lead {
  font-size: var(--lead);
  line-height: 1.5;
  max-width: 38em;
}

.eyebrow {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.eyebrow a {
  text-decoration: none;
}

.small {
  font-size: var(--text-sm);
  color: var(--muted);
}

.prose > * + * {
  margin-top: 1em;
}

.prose h2,
.prose h3 {
  margin-top: 2em;
}

.prose ul,
.prose ol {
  padding-left: 1.25em;
}

.prose li + li {
  margin-top: 0.35em;
}

.prose li::marker {
  color: var(--green-line);
}

.prose p,
.split__text > p {
  max-width: 36em;
}

.signature {
  font-weight: 500;
  font-size: var(--lead);
}

/* ------------------------------------------------------------------------------------------ */
/* Brand elements */

.wordmark {
  width: 100%;
  height: auto;
}

.mark {
  width: 4.5rem;
  height: auto;
  color: var(--fg);
}

.star {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--fg);
  flex: none;
}

.star--small {
  width: 0.8em;
  height: 0.8em;
  display: inline-block;
  vertical-align: -0.05em;
}

.star--lead {
  width: clamp(2rem, 3.5vw, 3rem);
  height: clamp(2rem, 3.5vw, 3rem);
}

.label {
  width: 100%;
  height: auto;
  color: var(--fg);
  overflow: visible;
}

.label text {
  font-family: var(--font);
}

/* ------------------------------------------------------------------------------------------ */
/* Buttons and links */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.875rem;
  padding: 0.7rem 1.15rem;
  border: 1.5px solid var(--accent-bg);
  border-radius: var(--radius-sm);
  background: var(--accent-bg);
  color: var(--accent-fg);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    background-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button .arrow {
  width: 1rem;
  height: 1rem;
  transition: transform 0.25s var(--ease);
}

.button:hover .arrow {
  transform: translateX(3px);
}

.button--ghost {
  background: transparent;
  color: var(--fg);
  border-color: currentColor;
}

.button--ghost:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.button--lavender {
  --accent-bg: var(--lavender);
  --accent-fg: var(--green);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.text-link svg {
  width: 1.2rem;
  height: 1.2rem;
}

.section-cta {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  justify-content: center;
}

/* ------------------------------------------------------------------------------------------ */
/* Header */

.notice {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem var(--gutter);
  background: var(--bg);
  color: var(--fg);
  font-size: var(--text-sm);
  text-align: center;
}

.site-header {
  background: var(--bg);
  color: var(--fg);
  position: sticky;
  top: 0;
  z-index: 30;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header__inner {
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-header__logo {
  display: block;
  width: 7.5rem;
  flex: none;
  color: var(--fg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  list-style: none;
  padding: 0;
  margin: 0 auto 0 0;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  padding-block: 0.4rem;
  display: inline-block;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.3s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  background-size: 100% 1.5px;
}

.site-nav__gift {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.menu-button {
  display: none;
}

/* On the home page the hero carries the big logo, as in the design. */
.is-home .site-header:not(.show-logo) .site-header__logo {
  display: none;
}

/* Phones and small tablets: the menu folds away behind a button (only with JavaScript; without
   it, the links simply wrap under the logo). */
@media (max-width: 59.99rem) {
  .site-header__inner {
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
  }

  .js .menu-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-left: auto;
    min-height: 2.75rem;
    padding: 0.5rem 0.9rem;
    border: 1.5px solid currentColor;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--fg);
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .menu-button__icon,
  .menu-button__icon::before,
  .menu-button__icon::after {
    display: block;
    width: 1.1rem;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.25s var(--ease);
  }

  .menu-button__icon {
    position: relative;
  }

  .menu-button__icon::before,
  .menu-button__icon::after {
    content: '';
    position: absolute;
    left: 0;
  }

  .menu-button__icon::before {
    top: -5px;
  }

  .menu-button__icon::after {
    top: 5px;
  }

  .menu-button[aria-expanded='true'] .menu-button__icon {
    background: transparent;
  }

  .menu-button[aria-expanded='true'] .menu-button__icon::before {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-button[aria-expanded='true'] .menu-button__icon::after {
    transform: translateY(-5px) rotate(-45deg);
  }

  .site-nav {
    flex-basis: 100%;
    flex-wrap: wrap;
  }

  .js .site-nav {
    display: none;
    padding: 0.5rem 0 1rem;
  }

  .js .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .js .site-nav ul {
    flex-direction: column;
    margin: 0;
    gap: 0;
  }

  .js .site-nav a {
    font-size: 1.5rem;
    padding-block: 0.55rem;
    background: none;
  }

  .js .site-nav a[aria-current='page'] {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
  }

  .site-nav__gift {
    margin-top: 0.5rem;
  }
}

/* ------------------------------------------------------------------------------------------ */
/* Hero */

.hero {
  padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3.5rem, 8vw, 7rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

@media (min-width: 56rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

/* An arched window onto the shop, like the arches of the logo and the facade, with the label as a stamp. */
.hero__arches {
  position: relative;
  padding: 0 0 0 14%;
  max-width: 34rem;
  width: 100%;
  justify-self: center;
}

.hero__arch img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.hero__arch--large img {
  object-position: 48% 70%;
}

.hero__label {
  position: absolute;
  top: 6%;
  left: 0;
  width: 34%;
  padding: 3%;
  border-radius: 50%;
  /* The same paper grain as the section around it, so the circle doesn't read as a sticker. */
  background: var(--lavender) var(--grain);
  color: var(--green);
  transform: rotate(var(--spin, 0deg));
}

.hero__title {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  color: var(--fg);
}

.hero__intro {
  font-size: var(--lead);
  line-height: 1.5;
  max-width: 30em;
  margin-bottom: 2rem;
}

.hero__visit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  margin-top: 1.75rem;
  font-size: var(--text-sm);
}

.hero__visit .open-status {
  margin: 0;
}

.hero__visit .text-link svg {
  width: 1.1rem;
  height: 1.1rem;
}

.open-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
  font-size: var(--text-sm);
  font-weight: 500;
}

.open-status__dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  flex: none;
}

.open-status.is-open .open-status__dot {
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 72, 62, 0.45);
  }
  70%,
  100% {
    box-shadow: 0 0 0 0.6rem rgba(46, 72, 62, 0);
  }
}

.split__text .open-status,
.info-card .open-status {
  display: flex;
  margin: 0;
}

/* ------------------------------------------------------------------------------------------ */
/* Section heads and splits */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-head .lead {
  margin-top: 1.25rem;
}

@media (min-width: 48rem) {
  .section-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    align-items: start;
  }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.split--top {
  align-items: start;
}

.split__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.split__text > .mark {
  margin-bottom: clamp(1rem, 4vw, 4rem);
}

.split__text > .button,
.split__text > .actions {
  margin-top: 0.75rem;
}

.split__media img,
.split__media .placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.split__media--portrait img {
  aspect-ratio: 4 / 5;
}

.split__media--square img {
  aspect-ratio: 1;
}

.split__media img.arch {
  aspect-ratio: 3 / 4;
  border-radius: var(--arch);
}

@media (min-width: 56rem) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .split--reverse > :first-child {
    order: 0;
  }

  .split__media--small {
    max-width: 26rem;
    justify-self: end;
    width: 100%;
  }
}

@media (max-width: 55.99rem) {
  .split--reverse > .split__media {
    order: 1;
  }
}

/* The gift card on striped paper (home, gift card page). */
.giftcard {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(-32deg, var(--lavender) 0 2.1rem, var(--paper) 2.1rem 4.2rem);
}

.giftcard__card {
  --fg: var(--lavender);
  position: relative;
  width: 46%;
  aspect-ratio: 5 / 8;
  display: grid;
  grid-template-rows: 1fr auto auto;
  justify-items: center;
  gap: 0.6rem;
  padding: 9% 9% 11%;
  border-radius: 4px;
  background: var(--green);
  color: var(--lavender);
  transform: rotate(-24deg);
  box-shadow:
    0 1.5rem 2.5rem -1rem rgba(20, 35, 28, 0.55),
    0 0.2rem 0.5rem rgba(20, 35, 28, 0.25);
}

.giftcard__card .mark {
  width: 72%;
  align-self: end;
}

.giftcard__label {
  position: absolute;
  top: 7%;
  right: 7%;
  width: 34%;
}

.giftcard__label .label {
  color: var(--lavender);
}

.giftcard__word {
  font-size: clamp(0.7rem, 1.3vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* The arch: the logo's letters and the facade's windows. Photos of the place and its makers. */
.arch {
  border-radius: var(--arch);
}

/* Crafts in a band that slides as you scroll (never on its own). */
.ticker {
  overflow: hidden;
  padding-block: clamp(1.25rem, 3vw, 2.25rem);
  border-block: 1px solid var(--line);
}

.ticker__track {
  display: flex;
  width: max-content;
  transform: translateX(var(--shift, 0));
  font-size: clamp(2rem, 5.2vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  white-space: nowrap;
  will-change: transform;
}

.ticker__set {
  display: flex;
  align-items: center;
  gap: 0.45em;
  padding-right: 0.45em;
}

.star--ticker {
  width: 0.42em;
  height: 0.42em;
}

.ticker__set span:nth-of-type(even) {
  color: var(--lavender-line);
}

/* Ontdekken · Maken · Genieten */
.pillars {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 4rem) clamp(1.5rem, 4vw, 4rem);
}

@media (min-width: 48rem) {
  .pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pillar a {
  display: grid;
  gap: 0.6rem;
  justify-items: start;
  text-decoration: none;
}

.pillar__media {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
}

.pillar__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.pillar a:hover img {
  transform: scale(1.04);
}

/* Phones: the arch beside the text, so the three read as one short list. */
@media (max-width: 47.99rem) {
  .pillar a {
    grid-template-columns: 36% minmax(0, 1fr);
    column-gap: 1.25rem;
    align-items: center;
    align-content: center;
  }

  .pillar__media {
    grid-row: 1 / span 5;
    margin-bottom: 0;
  }

  .pillar a > :not(.pillar__media) {
    grid-column: 2;
  }

  .pillar__text {
    font-size: 0.95rem;
  }
}

.pillar__number {
  font-size: var(--text-sm);
  letter-spacing: 0.14em;
  color: var(--muted);
}

.pillar__verb {
  font-size: var(--display-sm);
  letter-spacing: -0.025em;
  line-height: 1;
}

.pillar__text {
  color: var(--muted);
  max-width: 24em;
}

.pillar__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  padding-bottom: 0.2rem;
  border-bottom: 1.5px solid currentColor;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pillar__cta .arrow {
  width: 1rem;
  height: 1rem;
  transition: transform 0.25s var(--ease);
}

.pillar a:hover .arrow {
  transform: translateX(3px);
}

/* Lieselot's story */
.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

@media (min-width: 56rem) {
  .story__grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}

.story__media {
  position: relative;
  max-width: 30rem;
  margin-right: 2rem;
}

.story__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.story__media .mark {
  position: absolute;
  right: -2rem;
  bottom: -1.5rem;
  width: 30%;
  color: var(--lavender);
}

.story__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
}

.story__text > p:not(.eyebrow):not(.signature) {
  max-width: 36em;
}

.story__quote {
  margin: 0;
}

.story__quote p {
  font-size: var(--display-sm);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-indent: -0.42em;
  margin-bottom: 0.75rem;
  max-width: 16em;
}

.story__quote p::before {
  content: '“';
}

.story__quote p::after {
  content: '”';
}

/* The workshop calendar: big dates, one line each. */
.workshop-rows {
  list-style: none;
  padding: 0;
  border-top: 1.5px solid var(--fg);
}

.workshop-row a {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto 3rem;
  gap: 0.5rem 1.75rem;
  align-items: center;
  padding: 1.25rem 0.25rem;
  border-bottom: 1.5px solid var(--line);
  text-decoration: none;
  transition: padding 0.3s var(--ease);
}

.workshop-row a:hover {
  padding-left: 0.85rem;
}

.workshop-row__date {
  display: grid;
  justify-items: start;
  line-height: 1;
}

.workshop-row__day {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.workshop-row__month {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.workshop-row__title {
  display: block;
  font-size: var(--h3);
  line-height: 1.2;
}

.workshop-row a:hover .workshop-row__title {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

.workshop-row__meta {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.workshop-row__price {
  font-weight: 500;
  white-space: nowrap;
}

.workshop-row__go {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.workshop-row__go .arrow {
  width: 1.1rem;
  height: 1.1rem;
}

.workshop-row a:hover .workshop-row__go {
  background: var(--accent-bg);
  color: var(--accent-fg);
  border-color: var(--accent-bg);
}

.workshop-row.is-sold-out .workshop-row__title {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

@media (max-width: 40rem) {
  .workshop-row a {
    grid-template-columns: 3.75rem minmax(0, 1fr);
    gap: 0.25rem 1rem;
  }

  .workshop-row__price {
    grid-column: 2;
    font-size: 0.95rem;
  }

  .workshop-row__go {
    display: none;
  }
}

.page-head__count {
  margin-top: 1.25rem;
  font-weight: 500;
}

.section--list {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.how {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem clamp(3rem, 8vw, 8rem);
}

.how > div {
  display: grid;
  gap: 1.25rem;
  align-content: start;
  justify-items: start;
}

@media (min-width: 48rem) {
  .how {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.section--green .steps li::before {
  background: var(--lavender);
  color: var(--green);
}

/* The workshops page: a photo beside the intro on wide screens only, so the list stays high on phones. */
.page-head__photo img {
  aspect-ratio: 1;
  object-position: 50% 35%;
}

@media (max-width: 55.99rem) {
  .page-head__photo {
    display: none;
  }
}

.photo-strip {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

@media (min-width: 48rem) {
  .photo-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.photo-strip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}

/* A full-width photo between two sections. */
.photo-band img {
  width: 100%;
  height: clamp(16rem, 42vw, 34rem);
  object-fit: cover;
  object-position: 50% 55%;
}

/* ------------------------------------------------------------------------------------------ */
/* Makers */

.maker-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2.25rem);
}

@media (min-width: 40rem) {
  .maker-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .maker-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.maker-card a {
  display: block;
  text-decoration: none;
}

.maker-card__media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft-bg);
  margin-bottom: 1rem;
}

.maker-card__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.maker-card a:hover img {
  transform: scale(1.04);
}

.maker-card__name {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.3;
  text-underline-offset: 0.2em;
}

.maker-card a:hover .maker-card__name {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
}

.maker-card__tagline {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 0.15rem;
}

.maker-card[hidden] {
  display: none;
}

.finder {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.finder[hidden] {
  display: none;
}

.search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 30rem;
  padding: 0 1rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  transition: border-color 0.2s;
}

.search:focus-within {
  border-color: var(--green);
}

.search svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

.search input {
  flex: 1;
  min-width: 0;
  min-height: 3rem;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
}

.search input:focus {
  outline: none;
}

.no-results {
  padding: 2rem 0 1rem;
  font-size: var(--lead);
}

.no-results[hidden] {
  display: none;
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.in-shop {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-top: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--lavender-soft);
  max-width: 36em;
}

.in-shop svg {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  margin-top: 0.1rem;
}

.in-shop__hours {
  font-size: var(--text-sm);
  color: var(--muted);
}

.gallery {
  list-style: none;
  padding: 0;
  columns: 2;
  column-gap: clamp(0.75rem, 2vw, 1.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.gallery li {
  break-inside: avoid;
  margin-bottom: clamp(0.75rem, 2vw, 1.5rem);
}

.gallery img {
  width: 100%;
  border-radius: var(--radius);
}

@media (min-width: 48rem) {
  .gallery {
    columns: 3;
  }
}

.pager {
  border-top: 1px solid var(--line);
  padding-block: 2rem;
}

.pager__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}

.pager a {
  text-decoration: none;
  font-weight: 500;
}

.pager a span {
  display: block;
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--muted);
}

.pager a[rel='next'] {
  text-align: right;
}

.pager__all {
  text-decoration: underline !important;
}

/* ------------------------------------------------------------------------------------------ */
/* Workshops */

.workshop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
}

@media (min-width: 40rem) {
  .workshop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .workshop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.month {
  font-size: var(--h3);
  font-weight: 500;
  padding-bottom: 0.75rem;
  margin: clamp(2.5rem, 5vw, 4rem) 0 1.75rem;
  border-bottom: 1px solid var(--line);
}

.month:first-child {
  margin-top: 0;
}

.workshop-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.workshop-card__link {
  text-decoration: none;
}

/* The whole card opens the workshop in Odoo; the maker link stays clickable on top. */
.workshop-card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.workshop-card__maker {
  position: relative;
  z-index: 2;
  text-decoration: none;
}

.workshop-card__maker:hover {
  text-decoration: underline;
}

.workshop-card__summary {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.workshop-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.1rem;
}

.workshop-card__price {
  font-size: var(--h3);
  font-weight: 500;
}

.workshop-card__go {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--accent-bg);
  color: var(--accent-fg);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workshop-card__go .arrow {
  width: 0.95rem;
  height: 0.95rem;
}

.workshop-card:has(.workshop-card__link:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 6px;
  border-radius: var(--radius);
}

.workshop-card__link:focus-visible {
  outline: none;
}

.workshop-card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft-bg);
  margin-bottom: 1rem;
}

.workshop-card__media img,
.workshop-card__media .placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.workshop-card:hover img {
  transform: scale(1.04);
}

.workshop-card__title {
  font-size: var(--h3);
  font-weight: 400;
  line-height: 1.2;
  text-underline-offset: 0.18em;
}

.workshop-card:hover .workshop-card__title {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
}

.workshop-card__meta {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.workshop-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.workshop-card.is-sold-out img {
  filter: grayscale(0.7);
  opacity: 0.75;
}

.date-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: grid;
  place-items: center;
  min-width: 3.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--lavender);
  color: var(--green);
  line-height: 1;
}

.date-badge__day {
  font-size: 1.5rem;
  font-weight: 500;
}

.date-badge__month {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--paper);
  font-size: 0.8125rem;
  font-weight: 500;
}

.tag--soft {
  background: var(--lavender-soft);
  color: var(--green);
}

.tag--muted {
  background: transparent;
  color: var(--fg);
  border: 1px solid currentColor;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.steps li {
  counter-increment: step;
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
}

.steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--lavender);
  font-size: 0.85rem;
  font-weight: 500;
  flex: none;
  transform: translateY(-0.1rem);
}

.empty {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
  max-width: 38rem;
  font-size: var(--lead);
}

/* ------------------------------------------------------------------------------------------ */
/* Info cards, contact */

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
}

@media (min-width: 48rem) {
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.info-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--green);
  --fg: var(--green);
  --muted: #4c6359;
}

.section--paper .info-card {
  background: var(--white);
  border: 1px solid var(--line);
}

.info-card--lavender,
.section--paper .info-card--lavender {
  background: var(--lavender);
  border-color: transparent;
  --muted: var(--green);
}

.info-card h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--h3);
  font-weight: 500;
}

.info-card h2 svg {
  width: 1.6rem;
  height: 1.6rem;
}

.info-card h2 .mark {
  width: 1.6rem;
}

.info-card .button {
  margin-top: auto;
}

.hours {
  border-collapse: collapse;
  width: 100%;
  max-width: 22rem;
}

.hours th,
.hours td {
  text-align: left;
  font-weight: 400;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--line);
}

.hours td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.hours tr.is-today th,
.hours tr.is-today td {
  font-weight: 600;
}

.reach {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem clamp(2rem, 5vw, 4rem);
}

@media (min-width: 48rem) {
  .reach {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.reach h3 {
  font-size: var(--h3);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contact-card {
  display: grid;
  gap: 0.35rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius);
  background: var(--lavender);
  color: var(--green);
  text-decoration: none;
  transition: transform 0.25s var(--ease);
}

.contact-card:hover {
  transform: translateY(-3px);
}

.contact-card svg {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.75rem;
}

.contact-card__label {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-card__value {
  font-size: var(--h3);
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

.contact-extra {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.contact-extra > div {
  display: grid;
  gap: 1rem;
  align-content: start;
}

@media (min-width: 48rem) {
  .contact-extra {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.social-links {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.social-links svg {
  width: 1.4rem;
  height: 1.4rem;
}

/* ------------------------------------------------------------------------------------------ */
/* Maker call, crumbs, placeholder, 404 */

.maker-call__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.maker-call__inner p {
  margin-top: 0.75rem;
  max-width: 36em;
}

@media (min-width: 48rem) {
  .maker-call__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 2.5rem;
  }
}

.crumbs {
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
  font-size: var(--text-sm);
}

.crumbs ol {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
}

.crumbs li + li::before {
  content: '›';
  margin-right: 0.6rem;
  opacity: 0.7;
}

.page-head .display {
  margin-bottom: 1.25rem;
}

.placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--lavender-soft);
  color: var(--green);
  text-align: center;
  font-size: var(--text-sm);
}

.placeholder .mark {
  width: 3rem;
  color: var(--green);
}

.not-found {
  min-height: 60vh;
  display: grid;
  align-items: center;
}

.not-found .mark {
  margin-bottom: 2rem;
}

/* ------------------------------------------------------------------------------------------ */
/* Footer */

.site-footer {
  background: var(--lavender);
  color: var(--green);
  --line: rgba(46, 72, 62, 0.3);
  --muted: var(--green);
  padding-block: clamp(3.5rem, 7vw, 6rem) 2rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

@media (min-width: 40rem) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .site-footer__grid {
    grid-template-columns: 1.3fr 1fr 1.2fr 0.9fr;
    gap: 3rem;
  }
}

.site-footer__label {
  width: 7.5rem;
  margin-bottom: 1.25rem;
}

.site-footer__label .label {
  color: var(--green);
}

.site-footer__brand p {
  max-width: 20em;
}

/* The word logo as the shop sign, the full width of the page. */
.site-footer__sign {
  display: block;
  margin-top: clamp(3.5rem, 8vw, 6rem);
  color: var(--green);
}

.site-footer__sign .wordmark {
  width: 100%;
}

.site-footer__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.site-footer address {
  font-style: normal;
  margin-bottom: 1rem;
}

.site-footer .hours {
  max-width: 17rem;
}

.site-footer__links,
.site-footer__social {
  list-style: none;
  padding: 0;
}

.site-footer__links a {
  text-decoration: none;
  line-height: 1.9;
}

.site-footer__links a:hover {
  text-decoration: underline;
}

.site-footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.site-footer__social a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1.5px solid currentColor;
}

.site-footer__social svg {
  width: 1.25rem;
  height: 1.25rem;
}

.site-footer__social a:hover {
  background: var(--green);
  color: var(--lavender);
  border-color: var(--green);
}

.site-footer__legal {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  font-size: 0.8125rem;
}

.site-footer__legal p {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* Paper grain on the light planes. */
.section--paper,
.section--lavender,
.site-footer,
.theme-paper .site-header,
.theme-lavender .site-header {
  background-image: var(--grain);
}

/* ------------------------------------------------------------------------------------------ */
/* Motion: elements below the fold rise in as they scroll into view (main.js adds .reveal only
   to those, so nothing above the fold waits for JavaScript). */

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .ticker__track {
    transform: none;
  }
}

/* ------------------------------------------------------------------------------------------ */
/* Print: the practical bits on white paper. */

@media print {
  .site-header,
  .site-footer__social,
  .menu-button,
  .actions,
  .section-cta,
  .ticker,
  .pager {
    display: none !important;
  }

  .section,
  .page-head,
  .site-footer,
  [class*='section--'] {
    background: #fff !important;
    color: #000 !important;
    padding-block: 1rem !important;
  }

  img {
    max-height: 9cm;
    width: auto !important;
  }
}
