/* Shared base for every concept: reset, accessibility, shared components.
   Concepts set their look with custom properties and their own style.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, picture, video, svg { display: block; max-width: 100%; }
picture img { width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
main:focus { outline: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 1000; padding: .75rem 1rem; background: #111; color: #fff; text-decoration: none; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--focus, #A89063); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Language switch */
.lang-switch { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; font-size: .8125rem; letter-spacing: .08em; padding: .4rem .55rem; border-radius: 999px; line-height: 1; min-height: 44px; }
.lang-switch__cur { font-weight: 700; }
.lang-switch__alt { opacity: .7; }
.lang-switch:hover .lang-switch__alt { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; } }

/* Video background + toggle */
.video-bg { position: relative; overflow: hidden; }
.video-bg video { width: 100%; height: 100%; object-fit: cover; }
.video-toggle { position: absolute; right: 1rem; bottom: 1rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: rgba(0,0,0,.35); color: #fff; display: grid; place-items: center; z-index: 2; }
.video-toggle span { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.is-playing .video-toggle span { width: 10px; height: 13px; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; margin: 0; }
.video-player video { width: 100%; height: auto; background: #000; }

/* Lightbox */
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(10,9,8,.94); color: #f3ece0; }
.lightbox::backdrop { background: rgba(10,9,8,.8); }
.lightbox[open] { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; }
.lightbox__figure { grid-column: 2; display: grid; justify-items: center; gap: .75rem; padding: 3.5rem 0 2.5rem; max-height: 100vh; }
.lightbox__figure img { max-height: calc(100vh - 8rem); width: auto; object-fit: contain; }
.lightbox__figure figcaption { font-size: .875rem; opacity: .8; text-align: center; max-width: 60ch; }
.lightbox__close, .lightbox__nav { background: none; border: 0; color: inherit; font-size: 2.25rem; width: 48px; height: 48px; line-height: 1; }
.lightbox__close { position: absolute; top: .5rem; right: .5rem; }
.lightbox__count { position: absolute; top: 1.1rem; left: 1.25rem; font-size: .8125rem; letter-spacing: .1em; opacity: .75; }
@media (max-width: 600px) { .lightbox[open] { grid-template-columns: 40px 1fr 40px; } }

/* Forms (concepts restyle) */
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.contact-form .field { display: grid; gap: .35rem; grid-column: 1 / -1; }
.contact-form .field--half { grid-column: span 1; }
@media (min-width: 640px) { .contact-form .field:not(.field--full) { grid-column: span 1; } }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 44px; padding: .65rem .8rem; border: 1px solid currentColor; border-radius: 0; background: transparent; }
.contact-form select option { color: #111; }
.contact-form textarea { resize: vertical; }
.contact-form .field--check { grid-template-columns: auto 1fr; align-items: start; gap: .6rem; }
.contact-form .field--check input { width: 20px; min-height: 20px; height: 20px; margin-top: .15rem; }
.contact-form .field__error { color: var(--error, #b3261e); font-size: .875rem; }
.contact-form [aria-invalid="true"] { border-color: var(--error, #b3261e); }
.contact-form .form-note { grid-column: 1 / -1; font-size: .8125rem; opacity: .75; }
.contact-form .form-status { grid-column: 1 / -1; min-height: 1.5em; }
.contact-form .btn--submit { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Product card defaults */
.product__actions { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .875rem; }
.product__actions a { min-height: 44px; display: inline-flex; align-items: center; }
