/* Crafted Web case sites — shared base (each site sets its own tokens & look) */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }

/* Language switching */
html[data-lang="nl"] [lang="en"], html[data-lang="nl"] [lang="pt"], html[data-lang="en"] [lang="nl"], html[data-lang="en"] [lang="pt"], html[data-lang="pt"] [lang="nl"], html[data-lang="pt"] [lang="en"] { display: none !important; }

/* Reveal */
.rv-on .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--d, 0) * 70ms); }
.rv-on .rv.in { opacity: 1; transform: none; }

/* Mobile menu basics */
body.menu-open { overflow: hidden; }

/* Forms */
.f { display: grid; gap: 7px; }
.f-err { font-size: .86rem; min-height: 0; }
.f-err:empty { display: none; }
button[aria-busy="true"] { opacity: .6; pointer-events: none; }

/* Concept note (fictional business) */
.concept { font-size: .8rem; opacity: .75; }
.concept a { text-decoration: underline; text-underline-offset: 2px; }

/* Screenshot mode (?shot=1): fixed hero height so a tall capture window doesn't stretch it */
html.shot .hero { min-height: 900px !important; }
html.shot .strip { height: auto !important; }
html.shot .strip-sticky { position: static !important; height: auto !important; padding: 90px 0; }
html.shot .track { transform: none !important; overflow: hidden; }
html.shot .progress { display: none; }
html.shot .rv { opacity: 1 !important; transform: none !important; }
html.shot body::after { display: none; }
html.shot [data-header] { position: absolute !important; left: 0; right: 0; }
html.shot .top + [data-header], html.shot body > [data-header]:not(.hd) { position: relative !important; }
html.shot body { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
