*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font-family: Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
figure { margin: 0; }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
.arrow { display: inline-block; width: 18px; height: 18px; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 14px 20px; background: #fff; color: #151515; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.concept-bar { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 20px; padding: 8px 20px; min-height: 36px; background: var(--ink, #242424); color: var(--paper, #fff); font: 10px/1.4 Arial, sans-serif; letter-spacing: .07em; }
.concept-bar a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.concept-bar span { opacity: .85; }
.preview-dialog { width: min(520px, calc(100% - 40px)); max-height: calc(100vh - 40px); padding: 32px; border: 1px solid var(--line, #d8d8d8); color: var(--ink, #222); background: var(--paper, #fff); box-shadow: 0 30px 100px #0004; }
.preview-dialog::backdrop { background: #0009; }
.preview-dialog h2 { margin: 0; font-family: Georgia, serif; font-size: 30px; line-height: 1.12; font-weight: 400; letter-spacing: -.02em; }
.preview-dialog p { font: 15px/1.7 Arial, sans-serif; margin: 20px 0; }
.preview-dialog .dialog-close { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 18px; border: 1px solid currentColor; background: var(--ink, #222); color: var(--paper, #fff); font-size: 14px; }
.preview-dialog .dialog-close:is(:hover, :focus-visible) { background: var(--paper, #fff); color: var(--ink, #222); }
/* Shared non-motion feedback, including wordmarks and return/credit links.
   Keep each concept's own foreground so light-on-dark labels stay readable. */
body:is(.carpenter, .bakery, .salon, .chalet) a[href]:not(.button):is(:hover, :focus-visible) {
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
body.chalet summary:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  body:is(.carpenter, .bakery, .salon, .chalet) :is(.button, .text-link):hover .arrow { transform: none; }
}
