/* Shared site styles (mobile header menu + footer). Loaded on every page. */

/* Site font: Schibsted Grotesk, hosted on this site (SIL Open Font License, see /fonts/SchibstedGrotesk-OFL.txt) */
@font-face{font-family:"Schibsted Grotesk";src:url("/fonts/SchibstedGrotesk-Variable.woff2") format("woff2");font-weight:400 900;font-style:normal;font-display:swap}
:root{--sans:"Schibsted Grotesk","Helvetica Neue",Arial,sans-serif}
/* Buttons and nav links in Schibsted SemiBold (mono stays on small labels only) */
.top nav,.navlink,.pill,.ghost,.choice,.btn{font-family:var(--sans)!important;font-weight:600;letter-spacing:-.005em}
.top nav{font-size:15px}
.pill,.ghost,.choice{font-size:15px}
/* Logo mark in the header */
.top .mark svg{height:28px!important;width:auto!important;aspect-ratio:953/1851!important;flex:none}
/* "Contact Now" in title case everywhere */
a[href^="contact.html"]{text-transform:capitalize}
/* Homepage headline: two balanced lines in the wider font */
.hero h1{max-width:none}
/* Marketing headline: keep "Impossible to ignore." on one line on desktop */
@media (min-width:701px){.hero h1:has(span){font-size:clamp(40px,5.8vw,84px)}.hero h1 span{white-space:nowrap}}
/* Homepage headline on phones: still two lines */
@media (max-width:700px){.hero h1:not(:has(span)){font-size:clamp(26px,8vw,34px)}}
.menu-btn,.menu-close{display:none}
.m-menu{display:none}
body.menu-open{overflow:hidden}
/* footer columns without headings */
footer .col ul{margin-top:4px}

@media (max-width:700px){
  .top{gap:12px}
  .top .mark{font-size:16px;white-space:nowrap}
  .top nav{gap:10px}
  .top nav .navlink{display:none!important}
  .top nav .pill{display:none!important}
  .menu-btn,.menu-close{display:inline-grid;place-items:center;width:40px;height:40px;flex:none;border-radius:50%;border:1px solid #3A3A3A;background:none;color:var(--text);cursor:pointer;padding:0}
  .menu-btn span{display:block;width:16px;height:1.5px;background:currentColor;box-shadow:0 5px 0 currentColor;transform:translateY(-2.5px)}
  .menu-close svg{width:14px;height:14px}
  .m-menu{display:flex;position:fixed;inset:0;z-index:1000;flex-direction:column;padding:calc(22px + env(safe-area-inset-top,0px)) var(--pad) calc(28px + env(safe-area-inset-bottom,0px));
    background:rgba(22,22,22,.97);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s}
  .m-menu.open{opacity:1;visibility:visible}
  .m-top{display:flex;justify-content:space-between;align-items:center;gap:12px}
  .m-top .mark{display:flex;align-items:center;gap:12px;font-weight:600;font-size:16px}
  .m-top .mark svg{height:26px;width:auto;aspect-ratio:953/1851}
  .m-links{display:flex;flex-direction:column;align-items:stretch!important;text-align:left;gap:0;margin-top:44px;border-top:1px solid var(--line);font-family:var(--sans)!important}
  .m-links a{font-weight:600;text-transform:uppercase;letter-spacing:-.02em;font-size:34px;line-height:1;padding:20px 0;border-bottom:1px solid var(--line);transform:translateY(8px);opacity:0;transition:transform .35s ease,opacity .35s ease}
  .m-menu.open .m-links a{transform:none;opacity:1}
  .m-menu.open .m-links a:nth-child(2){transition-delay:.04s}.m-menu.open .m-links a:nth-child(3){transition-delay:.08s}
  .m-links a[aria-current]{color:var(--mint)}
  .m-menu > .pill{justify-content:center;padding:16px;font-size:14px;margin-top:28px}
  .m-foot{margin-top:auto;font-family:var(--mono);font-size:12px;color:var(--muted)}
  footer .foot-top{grid-template-columns:repeat(2,1fr)!important;gap:28px 14px!important}
  footer .foot-cta{grid-column:1 / -1}
  footer .col a{font-size:15px}
  footer .foot-top{padding:48px 0 32px!important}
  footer .foot-cta h2{margin-bottom:20px}
  .foot-bottom{padding:20px 0 24px!important;gap:10px}
}
@media (prefers-reduced-motion:reduce){.m-menu,.m-links a{transition:none}}

/* Numbers: normal comma spacing in Schibsted */
.stat b{font-variant-numeric:normal!important}
/* Lighter green for the marketing headline (sits on the dark background) */
.hero h1 span{color:#319B6C}
/* Footer: one line, copyright left, links right */
footer .f-base{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:26px 0 30px;font-family:var(--mono);font-size:12px;color:var(--muted)}
footer .f-links{display:flex;gap:28px;font-family:var(--sans)!important;font-size:15px;font-weight:500}
footer .f-links a{color:var(--muted);transition:color .2s}
footer .f-links a:hover{color:var(--text)}
@media (max-width:700px){footer .f-links{gap:20px;font-size:14px}}
/* Short pages: footer sits at the bottom of the screen */
body{display:flex;flex-direction:column;min-height:100vh;min-height:100svh}
body > footer{margin-top:auto}
body > *{flex-shrink:0}
