/* Fixaline brand A facelift (pen/fixaline-a-ui-ux-20261112.pen), 13.11.2026 */

/* Tokens */
:root {
  --a-bg: #0B0B0C;
  --a-surface: #17181A;
  --a-surface-2: #202124;
  --a-line: #2B2C30;
  --a-text: #FFFFFF;
  --a-muted: #A3A6AD;
  --a-cyan: #00A0E2;
  --a-orange: #FF8300;
  --a-ink: #000000;
  --a-field: #73767D;
  --a-photo-bg: #FFFFFF;
  --a-ph-bg: #F4F4F5;
  --a-ph-ink: #5C5F66;
  --a-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --a-radius: 0;
  --a-max: 1280px;
  --a-gutter: clamp(20px, 4vw, 48px);
  --a-header-h: 80px;
}

/* Buttons: sharp corners, orange only for Webshop / purchase */
.a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--a-radius);
  font-family: var(--a-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.a-btn:focus-visible { outline: 2px solid var(--a-cyan); outline-offset: 2px; }
.a-btn svg { flex: none; }
.a-btn--primary { background: var(--a-orange); border-color: var(--a-orange); color: var(--a-ink); }
.a-btn--primary:hover { background: #E67600; border-color: #E67600; color: var(--a-ink); }
.a-btn--secondary { background: transparent; border-color: var(--a-text); color: var(--a-text); }
.a-btn--secondary:hover { background: var(--a-text); color: var(--a-ink); }
.a-btn--text { min-height: 44px; padding: 8px 0; background: none; border: 0; color: var(--a-cyan); }
.a-btn--text:hover { color: var(--a-text); text-decoration: underline; text-underline-offset: 4px; }

/* Base: brand A colours over site.css. Body text stays Roboto 400; Inter 400/500 exist for brand A text set in Inter. */
body { background: var(--a-bg); color: var(--a-text); }
:focus-visible { outline-color: var(--a-cyan); }
.prose a { color: var(--a-cyan); }

/* Form fields (shared) */
.a-field { display: grid; gap: 6px; }
.a-field label, .a-label { font: 600 13px/1.3 var(--a-font); color: var(--a-text); }
.a-input, .a-textarea, .a-select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: transparent; color: var(--a-text);
  border: 1px solid var(--a-field); border-radius: 0;
  font: 400 16px/1.4 var(--body, sans-serif);
}
.a-textarea { min-height: 120px; resize: vertical; }
.a-input:focus-visible, .a-textarea:focus-visible, .a-select:focus-visible { outline: 2px solid var(--a-cyan); outline-offset: 0; border-color: var(--a-cyan); }

/* Shared section helpers */
.a-wrap { width: 100%; max-width: var(--a-max); margin: 0 auto; padding: 0 var(--a-gutter); }
.a-section { padding: 96px 0; }
.a-section--surface { background: var(--a-surface); }
.a-eyebrow { margin: 0 0 8px; color: var(--a-muted); font: 600 13px/1.3 var(--a-font); }
.a-title { margin: 0; font: 700 clamp(28px, 3.2vw, 40px)/1.15 var(--a-font); letter-spacing: -.01em; }
.a-title::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 16px; background: var(--a-cyan); }
.a-lead { margin: 16px 0 0; color: var(--a-muted); font-size: 17px; }
@media (max-width: 767px) { .a-section { padding: 64px 0; } }

/* Header: logo left, links right, Webshop last */
.site-header { min-height: var(--a-header-h); padding: 0 var(--a-gutter); gap: 16px; background: var(--a-ink); border-bottom: 1px solid var(--a-line); }
.site-header .logo { margin-right: auto; }
.site-header .logo img { width: 160px; }
.site-header__shop { order: 3; min-height: 40px; padding: 8px 20px; font-size: 14px; }
.site-header .menu-toggle { order: 4; }
.site-header .nav { order: 2; }
.nav__list { gap: 8px; }
.nav__list > li > a { padding: 0 10px; font: 600 14px var(--a-font); color: var(--a-text); }
.nav__list > li > a:hover, .mega li a:hover, .drop li a:hover, .mega__title a:hover { color: var(--a-cyan); }
.nav__list > li > a.is-current, .nav__list > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--a-cyan); }
.mega a[aria-current="page"], .drop a[aria-current="page"] { color: var(--a-cyan); }
.sub-toggle { color: var(--a-muted); }
.nav__mobile-only { display: none !important; }
.nav__cta { margin-left: 8px; }
.nav__list > li.nav__cta > a.a-btn { min-height: 40px; padding: 8px 20px; font-size: 14px; box-shadow: none; }
.nav__list > li.nav__cta > a.a-btn:hover { color: var(--a-ink); }

/* Mega menu / Products */
.mega, .drop { background: var(--a-surface); border-top: 2px solid var(--a-cyan); padding: 32px 40px; }
.mega { left: -40px; gap: 56px; }
.mega__title { color: var(--a-text); font: 700 15px/1.3 var(--a-font); }
.mega__title::after { content: ""; display: block; width: 24px; height: 2px; margin-top: 8px; background: var(--a-cyan); }
.mega li a, .drop li a { color: var(--a-muted); font-size: 14px; }

/* Dropdown / Language */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; background: none; border: 0; color: var(--a-text); font: 600 14px var(--a-font); cursor: pointer; }
.lang__btn .chev { color: var(--a-muted); transition: transform .15s ease; }
.lang__btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang__menu { position: absolute; top: 100%; right: 0; z-index: 60; display: none; min-width: 200px; margin: 0; padding: 8px 0; list-style: none; background: var(--a-surface); border: 1px solid var(--a-line); }
.lang__btn[aria-expanded="true"] + .lang__menu { display: block; }
.lang__item { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 18px; color: var(--a-text); font: 500 15px var(--a-font); text-decoration: none; }
a.lang__item:hover { background: var(--a-surface-2); color: var(--a-cyan); }
.lang__item.is-current { background: var(--a-surface-2); }
.lang__code { width: 24px; color: var(--a-muted); font-size: 13px; font-weight: 700; }
.lang__item.is-current .lang__code { color: var(--a-cyan); }

@media (min-width: 1025px) and (max-width: 1200px) {
  .nav__list { gap: 0; }
  .nav__list > li > a { padding: 0 8px; }
  .site-header .logo img { width: 132px; }
}

/* Nav / Mobile and Menu / Mobile open (pen 390, T5.2.1): 60 px bar, logo, Webshop and a 44 px menu button.
   The open menu is a panel under the bar that fills the screen; the page behind it does not scroll. */
@media (max-width: 1024px) {
  :root { --gutter: var(--a-gutter); }
}
/* One row like the desktop header from 768 px up (Olli 13.11.2026): tighter spacing so every item fits at 768 px. */
@media (min-width: 768px) and (max-width: 1024px) {
  .site-header { gap: 8px; }
  .site-header .logo img { width: 112px; }
  .nav__list { gap: 0; }
  .nav__list > li > a { padding: 0 7px; font-size: 14px; }
  .lang__btn { padding: 0 7px; }
  .nav__cta { margin-left: 4px; }
  .nav__list > li.nav__cta > a.a-btn, .site-header__shop { min-height: 44px; padding: 8px 14px; }
}
/* The Products mega menu is wider than the space right of its link on narrow desktops: anchor it to the sticky
   header's right content edge instead of the link, so it never runs past the screen. */
@media (min-width: 768px) and (max-width: 1280px) {
  .nav__list > li.has-sub { position: static; }
  .site-header .mega { left: auto; right: max(var(--a-gutter), calc((100% - var(--a-max)) / 2)); max-width: calc(100% - 2 * var(--a-gutter)); }
}
@media (max-width: 767px) {
  :root { --a-header-h: 60px; }
  .site-header { min-height: var(--a-header-h); gap: 4px; background: var(--a-bg); }
  .site-header .logo { display: inline-flex; align-items: center; min-height: 44px; }
  .site-header .logo img { width: 118px; }
  .site-header__shop { min-height: 44px; padding: 10px 16px; }
  .site-header .menu-toggle { width: 44px; height: 44px; margin-right: -10px; padding: 9px 10px; }
  .site-header .nav { order: 5; position: fixed; top: var(--a-header-h); right: 0; bottom: 0; left: 0; width: auto; padding: 8px var(--a-gutter) calc(24px + env(safe-area-inset-bottom)); background: var(--a-bg); overflow-y: auto; overscroll-behavior: contain; }
  .site-header:has(.nav.is-open) { max-height: none; overflow: visible; }
  /* body has overflow-x: hidden in site.css; clip keeps it from turning into the scroll box, so the header stays sticky. */
  html:has(.nav.is-open) { overflow: hidden; }
  html:has(.nav.is-open) body { overflow: clip; }
  .nav__list > li > a.is-current, .nav__list > li > a[aria-current="page"] { box-shadow: none; color: var(--a-cyan); }
  .nav__list { gap: 0; }
  .nav__list > li { border-top: 0; border-bottom: 1px solid var(--a-line); }
  .nav__list > li > a { min-height: 56px; padding: 0; font: 600 18px/1.2 var(--a-font); }
  .sub-toggle { width: 56px; height: 56px; margin-right: -18px; color: var(--a-muted); }
  .sub-toggle .chev { width: 20px; height: 20px; }
  .nav__mobile-only { display: flex !important; }
  .mega, .drop { padding: 0 0 12px; border-top: 0; background: none; }
  .mega__col + .mega__col { margin-top: 8px; }
  .mega__title { margin: 0; font-size: 15px; }
  .mega__title::after { display: none; }
  .mega__title a, .mega__title span, .mega li a, .drop li a { display: flex; align-items: center; min-height: 44px; padding: 0; }
  .mega li a, .drop li a { padding-left: 16px; font-size: 16px; }
  .lang { display: block; order: 10; padding-top: 16px; border-bottom: 0 !important; }
  .lang__btn { display: none; }
  .lang__menu { position: static; display: flex !important; gap: 0; min-width: 0; padding: 0; background: none; border: 0; }
  /* Codes only, as in the pen; the language name stays in the link text for screen readers. */
  .lang__item { min-width: 44px; min-height: 44px; padding: 0; background: none !important; font-size: 0; }
  .lang__item .lang__code { width: auto; color: var(--a-muted); font: 500 15px var(--a-font); }
  .lang__item.is-current .lang__code { color: var(--a-text); font-weight: 700; }
  a.lang__item:hover .lang__code { color: var(--a-cyan); }
  .nav__cta { order: 9; margin: 16px 0 0; border-bottom: 0 !important; }
  .nav__cta > a.a-btn { flex: 1; min-height: 48px !important; font-size: 16px !important; }
}

/* Floating contact: sharp, cyan. site.js hides it while the footer or a form is in view (is-away) and, on phones,
   at the top of the page and while scrolling down (is-quiet), so it does not sit on what is being read (T5.2.1). */
.float-contact { right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); border-radius: 0; background: var(--a-cyan); color: var(--a-ink); font-family: var(--a-font); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.float-contact:hover { background: var(--a-text); }
.float-contact:focus-visible { outline: 2px solid var(--a-text); outline-offset: 2px; }
.float-contact.is-away { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; }
@media (max-width: 767px) {
  .float-contact { right: calc(var(--a-gutter) + env(safe-area-inset-right)); width: 52px; height: 52px; border-radius: 0; }
  .float-contact.is-quiet { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { .float-contact { transition: none; } }

/* Old WordPress bottom bar: not in the pen and it covered content (T5.2.1). site.css hides it too. */
.bottom-panel { display: none !important; }

/* Phones: buttons in a stack are full width and the same height (pen 390). Text buttons stay inline. */
@media (max-width: 767px) {
  .cta > .a-btn:not(.a-btn--text), .cta > .btn { width: 100%; min-height: 48px; }
}

/* Breadcrumb on phones: only the parent level and the page, as in the pen; each link is a 44 px target. */
@media (max-width: 767px) {
  .a-crumbs li:not(:nth-last-child(-n+2)) { display: none; }
  .a-crumbs li:nth-last-child(2)::before { content: none; }
  .a-crumbs ol { align-items: center; }
  .a-crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Footer / Desktop and Footer / Mobile (pen nq241, D5c1pV; content P-21). Desktop: intro 420 + three 223 columns,
   64 px gaps, 15 px links on a 32 px rhythm. Tablet and phone: 44 px link targets. */
.site-footer { background: var(--a-ink); color: var(--a-muted); border-top: 1px solid var(--a-line); font-size: 15px; }
.foot { max-width: var(--a-max); margin: 0 auto; padding: 64px var(--a-gutter) 48px; grid-template-columns: minmax(0, 420fr) repeat(3, minmax(0, 223fr)); gap: 48px 64px; }
.foot__intro img { width: 152px; margin-bottom: 20px; }
.foot__intro p { max-width: 420px; margin: 0; color: var(--a-muted); font-size: 15px; line-height: 1.55; }
.foot__col h2 { margin: 0 0 7px; color: var(--a-text); font: 600 14px/1.25 var(--a-font); }
.foot__col ul { margin: 0 0 -7px; }
.foot__col li a { padding: 7px 0; color: var(--a-muted); font-size: 15px; line-height: 18px; }
.foot__col li a:hover { color: var(--a-cyan); }
.foot__col li a:focus-visible { outline: 2px solid var(--a-cyan); outline-offset: 2px; }
.foot__addr { display: flex; flex-direction: column; gap: 14px; margin: 14px 0 0; color: var(--a-muted); font-size: 15px; line-height: 18px; }
.foot__addr-sep { display: none; }
.foot__bar { width: min(calc(100% - 2 * var(--a-gutter)), calc(var(--a-max) - 2 * var(--a-gutter))); margin: 0 auto; padding: 24px 0 88px; border-top: 1px solid var(--a-line); background: none; color: var(--a-muted); font-size: 13px; line-height: 1.55; justify-content: space-between; }
.foot__powered a { color: var(--a-text); }
.foot__powered a:hover { color: var(--a-cyan); }
/* When site.js manages the floating button, the bottom bar no longer needs room for it. */
.float-managed .foot__bar, body:not(:has(.float-contact)) .foot__bar { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
@media (max-width: 1024px) {
  .foot { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; padding: 56px var(--a-gutter) 40px; }
  .foot__intro { grid-column: 1 / -1; }
  .foot__col h2 { margin-bottom: 4px; }
  .foot__col ul { margin: 0; }
  .foot__col li a { display: flex; align-items: center; min-height: 44px; padding: 0; line-height: 1.3; }
  .foot__addr { gap: 4px; margin-top: 10px; line-height: 1.55; }
}
/* Footer / Mobile (pen 390): 20 px sides, intro only its first sentence, two link columns, contact details full width
   with the address on one line. */
@media (max-width: 767px) {
  .foot { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding: 40px var(--a-gutter) 32px; }
  .foot__intro img { width: 118px; margin-bottom: 32px; }
  .foot__more { display: none; }
  .foot__col--touch { grid-column: 1 / -1; }
  .foot__addr { display: block; margin-top: 10px; }
  .foot__addr-sep { display: inline; }
  .foot__bar { width: calc(100% - 2 * var(--a-gutter)); padding-top: 20px; }
}

/* YouTube poster (src/lib/video.ts): the video's own still behind the play button; the video loads on click. */
.embed--poster { position: relative; isolation: isolate; overflow: hidden; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
.embed--poster .embed__poster { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; filter: brightness(.62); transition: filter .15s ease; }
.embed--poster:hover .embed__poster, .embed--poster:focus-visible .embed__poster { filter: brightness(.75); }
@media (prefers-reduced-motion: reduce) { .embed--poster .embed__poster { transition: none; } }

/* Footer contact form (P-15): under the link columns on every page except the contact pages. */
.foot-contact { display: grid; grid-template-columns: minmax(0, 420fr) repeat(3, minmax(0, 223fr)); gap: 48px 64px; width: min(calc(100% - 2 * var(--a-gutter, 48px)), calc(var(--a-max, 1280px) - 2 * var(--a-gutter, 48px))); margin: 0 auto; padding: 40px 0 48px; border-top: 1px solid var(--a-line, #2B2C30); }
.foot-contact__intro h2 { margin: 0 0 10px; color: var(--a-text, #fff); font: 700 20px/1.25 var(--a-font); }
.foot-contact__intro p { margin: 0; color: var(--a-muted, #A3A6AD); font-size: 14px; line-height: 1.5; }
.foot-contact__intro a { color: var(--a-muted, #A3A6AD); text-decoration: underline; text-underline-offset: 3px; }
.foot-contact__intro a:hover { color: var(--a-cyan, #00A0E2); }
.foot-form { grid-column: 2 / -1; grid-template-columns: 1fr 1fr; gap: 16px 12px; }
.foot-form .field { gap: 6px; }
.foot-form .field--wide { grid-column: 1 / -1; }
.foot-form .field label { color: var(--a-muted, #A3A6AD); font: 500 13px/1.3 var(--a-font); }
.foot-form .field input, .foot-form .field textarea { min-height: 44px; padding: 10px 12px; background: var(--a-bg, #0B0B0C); border: 1px solid var(--a-field, #73767D); border-radius: 0; color: var(--a-text, #fff); font: 400 15px/1.4 var(--a-font); }
.foot-form .field textarea { min-height: 72px; resize: vertical; }
.foot-form .field input:focus, .foot-form .field textarea:focus { border: 1px solid var(--a-cyan, #00A0E2); outline: 2px solid var(--a-cyan, #00A0E2); outline-offset: 0; }
.foot-form .cta { margin: 4px 0 0; }
.foot-form .a-btn { min-height: 44px; padding: 12px 24px; font-size: 15px; }
/* Email and phone in place of the contact forms until the form service is chosen (src/lib/form-off.ts, P-17). */
.form-off { display: grid; gap: 16px; align-content: start; }
.foot-contact .form-off { grid-column: 2 / -1; }
.form-off__lead { margin: 0; max-width: 60ch; color: var(--a-text, #fff); font-size: 16px; line-height: 1.55; }
.form-off__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 0; }
.form-off .a-btn { min-height: 48px; padding: 12px 24px; font-size: 15px; text-decoration: none; }
.form-off__tel { display: inline-flex; align-items: center; min-height: 44px; color: var(--a-text, #fff); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-off__tel:hover { color: var(--a-cyan, #00A0E2); }
.form-off a:focus-visible { outline: 2px solid var(--a-cyan, #00A0E2); outline-offset: 2px; }
@media (max-width: 1024px) {
  .foot-contact { grid-template-columns: 1fr; gap: 24px; }
  .foot-form, .foot-contact .form-off { grid-column: auto; }
}
@media (max-width: 767px) {
  .form-off .a-btn { width: 100%; justify-content: center; }
}
/* Footer form on phones (pen: Footer / Mobile): one column, 16 px fields so iOS does not zoom, full-width Send. */
@media (max-width: 767px) {
  .foot-contact { width: calc(100% - 2 * var(--a-gutter)); gap: 16px; padding: 24px 0 40px; }
  .foot-contact__intro h2 { font-size: 18px; }
  .foot-form { grid-template-columns: 1fr; gap: 12px; }
  .foot-form .field input, .foot-form .field textarea { font-size: 16px; }
  .foot-form .field textarea { min-height: 96px; }
  .foot-form .a-btn { width: 100%; min-height: 48px; font-size: 16px; }
}

/* Footer form: interest choice (Olli 13.11.2026). */
.foot-form__interest { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-form__interest legend { width: 100%; margin-bottom: 8px; padding: 0; color: var(--a-muted, #A3A6AD); font: 500 13px/1.3 var(--a-font); }
.foot-form__choice { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--a-text, #fff); font: 400 15px/1.4 var(--a-font); cursor: pointer; }
.foot-form__choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--a-cyan, #00A0E2); }
.foot-form .foot-form__interest { flex-direction: row; align-items: center; gap: 4px 28px; }

/* Logo and menu stay inside the content width (Olli 13.11.2026); the header background stays full width. */
.site-header { padding-left: max(var(--a-gutter), calc((100% - var(--a-max)) / 2)); padding-right: max(var(--a-gutter), calc((100% - var(--a-max)) / 2)); }

/* Pause button for looping background videos (WCAG 2.2.2, site.js). Small, in the corner, 44 px touch area. */
.bg-pause { position: absolute; right: 12px; bottom: 12px; z-index: 4; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .35); border-radius: 0; background: rgba(11, 11, 12, .6); color: #fff; cursor: pointer; }
.bg-pause:hover { background: rgba(11, 11, 12, .85); }
.bg-pause:focus-visible { outline: 2px solid var(--a-cyan); outline-offset: 2px; }
.bg-pause .bg-pause__play, .bg-pause.is-paused .bg-pause__pause { display: none; }
.bg-pause.is-paused .bg-pause__play { display: inline; }
