/* /about: interactive “Eight stages” cards. Hover lifts a card slightly; the
   whole card toggles a fuller explanation (one open at a time, see about-page.js).
   Loaded before the Atelier layers, so selectors carry the Atelier prefix. */
html[data-design-revision="atelier-v2"] body.about-page .about-steps {
  align-items: start;
}

html[data-design-revision="atelier-v2"] body.about-page .about-step {
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 320ms cubic-bezier(.22, 1, .36, 1), box-shadow 320ms ease, border-color 320ms ease, background-color 320ms ease;
}

html[data-design-revision="atelier-v2"] body.about-page .about-step:hover,
html[data-design-revision="atelier-v2"] body.about-page .about-step:focus-within {
  transform: translateY(-6px);
  border-color: rgba(181, 147, 87, .55);
  box-shadow: 0 22px 44px -26px rgba(46, 62, 68, .45);
}

html[data-design-revision="atelier-v2"] body.about-page .about-step.is-open {
  transform: none;
  border-color: var(--atelier-gold, #b59357);
  background-color: #fffaf0;
  box-shadow: 0 26px 52px -30px rgba(46, 62, 68, .5);
}

html[data-design-revision="atelier-v2"] body.about-page .about-step h3 {
  margin: 0 0 16px;
}

/* The heading button stretches over the whole card so any click toggles it. */
html[data-design-revision="atelier-v2"] body.about-page .about-step__toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
}
html[data-design-revision="atelier-v2"] body.about-page .about-step__toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
html[data-design-revision="atelier-v2"] body.about-page .about-step__toggle:focus-visible {
  outline: none;
}
html[data-design-revision="atelier-v2"] body.about-page .about-step:has(.about-step__toggle:focus-visible) {
  outline: 2px solid var(--atelier-gold, #b59357);
  outline-offset: 3px;
}

/* Plus that turns into a cross when open. */
html[data-design-revision="atelier-v2"] body.about-page .about-step__icon {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  border: 1px solid rgba(181, 147, 87, .6);
  border-radius: 50%;
  transition: transform 320ms cubic-bezier(.22, 1, .36, 1), background-color 320ms ease, border-color 320ms ease;
}
html[data-design-revision="atelier-v2"] body.about-page .about-step__icon::before,
html[data-design-revision="atelier-v2"] body.about-page .about-step__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--atelier-gold, #b59357);
  transform: translate(-50%, -50%);
  transition: background-color 320ms ease;
}
html[data-design-revision="atelier-v2"] body.about-page .about-step__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
html[data-design-revision="atelier-v2"] body.about-page .about-step:hover .about-step__icon {
  background: rgba(181, 147, 87, .12);
}
html[data-design-revision="atelier-v2"] body.about-page .about-step.is-open .about-step__icon {
  transform: rotate(45deg);
  background: var(--atelier-blue, #2e3e44);
  border-color: var(--atelier-blue, #2e3e44);
}
html[data-design-revision="atelier-v2"] body.about-page .about-step.is-open .about-step__icon::before,
html[data-design-revision="atelier-v2"] body.about-page .about-step.is-open .about-step__icon::after {
  background: #fdf4e3;
}

/* Expanding explanation: grid rows animate from 0fr to 1fr. */
html[data-design-revision="atelier-v2"] body.about-page .about-step__detail {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 420ms cubic-bezier(.22, 1, .36, 1), opacity 320ms ease;
}
html[data-design-revision="atelier-v2"] body.about-page .about-step__detail[hidden] {
  display: grid;
  visibility: hidden;
}
html[data-design-revision="atelier-v2"] body.about-page .about-step.is-open .about-step__detail {
  grid-template-rows: 1fr;
  opacity: 1;
}
html[data-design-revision="atelier-v2"] body.about-page .about-step__detail-inner {
  min-height: 0;
  overflow: hidden;
}
html[data-design-revision="atelier-v2"] body.about-page .about-step__detail-inner p {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(181, 147, 87, .45);
}

html[data-design-revision="atelier-v2"] body.about-page .about-step__hint {
  margin-top: 18px;
  color: var(--atelier-gold, #b59357);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: opacity 240ms ease;
}
html[data-design-revision="atelier-v2"] body.about-page .about-step.is-open .about-step__hint {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html[data-design-revision="atelier-v2"] body.about-page .about-step,
  html[data-design-revision="atelier-v2"] body.about-page .about-step__icon,
  html[data-design-revision="atelier-v2"] body.about-page .about-step__detail {
    transition: none;
  }
  html[data-design-revision="atelier-v2"] body.about-page .about-step:hover,
  html[data-design-revision="atelier-v2"] body.about-page .about-step:focus-within {
    transform: none;
  }
}

/* Hero (/about, /faq, /contacts, /journal): text on the left, the dot mark (brand-mark.js) on the right. */
html[data-design-revision="atelier-v2"] body:is(.about-page, .faq-page, .contacts-page, .journal-page) .about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
html[data-design-revision="atelier-v2"] body:is(.about-page, .faq-page, .contacts-page, .journal-page) .about-hero__mark {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  justify-self: center;
  touch-action: pan-y;
}
html[data-design-revision="atelier-v2"] body:is(.about-page, .faq-page, .contacts-page, .journal-page) .about-hero__mark canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
@media (max-width: 760px) {
  html[data-design-revision="atelier-v2"] body:is(.about-page, .faq-page, .contacts-page, .journal-page) .about-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-design-revision="atelier-v2"] body:is(.about-page, .faq-page, .contacts-page, .journal-page) .about-hero__mark {
    max-width: 280px;
  }
}
