:root {
  --shell: min(1220px, calc(100vw - 48px));
  --display: "Nunito Sans Variable", ui-sans-serif, system-ui, sans-serif;
  --serif: "Lora Variable", Georgia, serif;
  --sans: "Inter Variable", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.2,.75,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; font-family: var(--sans); text-rendering: optimizeLegibility; }
img { max-width: 100%; }
a { color: inherit; }
:where(a, button, summary):focus-visible { outline: 3px solid #191326; outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: white; color: #111; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid; backdrop-filter: blur(16px); transition: transform .28s var(--ease); will-change: transform; }
.site-header.is-hidden { transform: translateY(-105%); }
.header-inner { width: var(--shell); min-height: 82px; margin: auto; display: flex; align-items: center; gap: 34px; }
.brand { min-height: 44px; margin-right: auto; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid; border-radius: 50%; font-family: var(--display); font-size: 14px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-family: var(--display); font-size: 19px; }
.brand-copy small { margin-top: 5px; font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 700; }
.desktop-nav > a, .nav-dropdown > summary { padding: 28px 4px; cursor: pointer; list-style: none; text-decoration: none; }
.nav-dropdown { position: relative; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: " +"; opacity: .55; }
.nav-dropdown[open] summary::after { content: " −"; }
.dropdown-panel { position: absolute; z-index: 40; right: 0; top: 64px; width: 230px; padding: 18px; display: grid; gap: 4px; border: 2px solid; background: #fff6e9; box-shadow: 0 22px 70px rgba(20,10,30,.24); }
.dropdown-panel a { min-height: 44px; padding: 11px 10px; display: flex; align-items: center; font-size: 13px; text-decoration: none; }
.dropdown-wide { width: 570px; grid-template-columns: 150px 1fr; gap: 22px; }
.dropdown-wide > div { display: grid; grid-template-columns: repeat(2,1fr); align-content: start; }
.dropdown-wide > div:first-child { grid-template-columns: 1fr; }
.menu-label { grid-column: 1/-1; padding: 5px 10px 9px; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; opacity: .7; }
.header-cta { padding: 12px 18px; border: 2px solid; text-decoration: none; font-size: 13px; font-weight: 800; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { min-width: 48px; min-height: 48px; display: grid; place-items: center; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.menu-icon { width: 27px; height: 20px; display: grid; align-content: space-between; }
.menu-icon i { height: 2px; display: block; background: currentColor; transform-origin: center; transition: transform .22s var(--ease), opacity .18s ease; }
.mobile-nav[open] .menu-icon i:first-child { transform: translateY(9px) rotate(45deg); }
.mobile-nav[open] .menu-icon i:nth-child(2) { opacity: 0; }
.mobile-nav[open] .menu-icon i:last-child { transform: translateY(-9px) rotate(-45deg); }
.mobile-panel { position: fixed; z-index: 40; inset: 70px 0 0; width: 100%; height: calc(100dvh - 70px); padding: clamp(28px, 6vw, 64px) max(16px, calc((100vw - 740px) / 2)); display: grid; grid-template-rows: 1fr auto; gap: 26px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; border: 0; border-top: 2px solid; background: #fff6e9; box-shadow: none; }
.mobile-panel nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 0 44px; }
.mobile-panel a { min-height: 64px; padding: 13px 4px; display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid rgba(23,37,92,.28); font-family: var(--display); font-size: clamp(23px, 5vw, 36px); line-height: 1.05; letter-spacing: -.035em; text-decoration: none; }
.mobile-panel a span { min-width: 22px; font-family: var(--sans); font-size: 10px; font-weight: 900; letter-spacing: .12em; opacity: .58; }
.mobile-panel > p { margin: 0; font-family: var(--serif); font-size: 18px; font-style: italic; }
.button { min-height: 53px; padding: 15px 21px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; border: 2px solid; font-size: 13px; font-weight: 900; text-decoration: none; transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.button:hover { transform: translate(-2px,-3px); }
.site-footer { padding-block: 60px; border-top: 2px solid; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr .6fr; gap: 50px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-grid strong { font-family: var(--display); font-size: 27px; }
.footer-grid p { margin: 0; opacity: .8; }
.footer-grid span { margin-bottom: 5px; font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid a,
.footer-link { min-height: 44px; display: inline-flex; align-items: center; font: inherit; font-size: 13px; color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.footer-link { padding: 0; border: 0; background: transparent; cursor: pointer; }
.site-header[data-variant="livskraft"] { background:rgba(255,246,233,.96); border-color:#17255c; }
.site-header[data-variant="livskraft"] .dropdown-panel,
.site-header[data-variant="livskraft"] .mobile-panel { color:#17255c; background:#fff6e9; border-color:#17255c; }
.site-header[data-variant="livskraft"] .header-cta { color:#191326; background:#f2543d; border-color:#f2543d; box-shadow:5px 5px 0 #17255c; }
@media (max-width: 940px) {
  :root { --shell:min(calc(100% - 32px),740px); }
  .desktop-nav,.header-cta { display:none; }
  .mobile-nav { display:block; }
  .header-inner { min-height:70px; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 600px) {
  .brand-copy small { display:none; }
  .brand-mark { width:37px; height:37px; }
  .mobile-panel nav { grid-template-columns: 1fr; align-content: start; }
  .mobile-panel a { min-height: 54px; font-size: clamp(21px, 7vw, 30px); }
  .footer-grid { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { transition-duration:.01ms!important; animation-duration:.01ms!important; }
}
