/* Design layer, loaded after the older stylesheets.
   Typography: Archivo (SIL OFL 1.1, see /assets/fonts/OFL.txt), self-hosted.
   The wordmark keeps its original Helvetica setting. */
@font-face{font-family:"Archivo";font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/archivo-latin-wght.woff2) format("woff2")}

:root{
 --paper:#f6f5f1;
 --surface:#ffffff;
 --ink:#0d1b2c;
 --ink-soft:#1f3247;
 --muted:#4e5965;
 --line:#d9dad5;
 --line-strong:#b9bdbd;
 --signal:#f4cc32;
 --signal-hover:#e8bd16;
 --focus:#b14a13;
 --radius:4px;
 --measure:62ch;
 font-family:"Archivo","Helvetica Neue",Helvetica,Arial,sans-serif;
 background:var(--paper);
 color:var(--ink);
}
body{background:var(--paper);border-top:4px solid var(--signal);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.wordmark{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}
h1,h2,h3{text-wrap:balance}
p{text-wrap:pretty}

/* Focus: one consistent, clearly visible ring */
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
input[type=radio]:focus-visible{outline-offset:2px}

/* Buttons */
.button{border-radius:var(--radius);font-weight:600;letter-spacing:-.005em;min-height:52px}
.button-outline{background:transparent;color:var(--ink);border-color:var(--ink)}
.button-outline:hover{background:var(--ink);color:var(--paper)}
.button-ghost{background:transparent;color:var(--ink);border-color:transparent;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px;padding-inline:4px}
.button-ghost:hover{background:transparent;color:var(--ink-soft);text-decoration-thickness:2px}
.button-signal{background:var(--signal);border-color:var(--signal);color:var(--ink)}
.button-signal:hover{background:var(--signal-hover);border-color:var(--signal-hover)}
.button-small{min-height:44px}

/* Header */
.site-header nav>a{font-weight:500}
.site-header nav>a[aria-current=page]{text-decoration:underline;text-decoration-color:var(--signal);text-decoration-thickness:3px;text-underline-offset:8px}

/* Kickers */
.section-kicker,.eyebrow,.service-number,.quick-kicker{font-weight:600;letter-spacing:.14em;color:var(--muted)}
.eyebrow{color:var(--ink)}

/* ---------- Forside: hero ---------- */
.hero-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,420px);gap:56px;align-items:end;padding-top:40px;padding-bottom:40px}
.hero-copy h1{white-space:normal;font-weight:760;letter-spacing:-.035em;line-height:1;font-size:clamp(48px,6.4vw,100px)}
.hero-lead{font-size:clamp(20px,1.7vw,25px);line-height:1.4;letter-spacing:-.01em;margin-top:24px;max-width:30ch}
.hero-main .hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:28px}
.hero-main .hero-actions .button{font-size:16px}
.hero-proof{font-size:15px;margin-top:22px;color:var(--muted);max-width:52ch}
.work-scene{height:clamp(320px,34vw,500px)}

/* Quick start card (forside og undersider) */
.quick-start{background:var(--surface);border:1px solid var(--line);border-top:4px solid var(--ink);border-radius:var(--radius);padding:26px 26px 22px;box-shadow:0 1px 2px #0d1b2c0f,0 8px 24px -12px #0d1b2c26}
.quick-kicker{font-size:12px;text-transform:uppercase;margin-bottom:8px}
.quick-start h2{font-size:28px;line-height:1.15;letter-spacing:-.02em;margin-bottom:18px}
.quick-start fieldset{margin-bottom:16px}
.quick-start legend{font-size:14px;font-weight:600;margin-bottom:8px}
.quick-start .need-options{display:grid;grid-template-columns:1fr;gap:6px}
.quick-start .need-options label{font-size:15px;padding:10px 12px;min-height:44px;border-radius:var(--radius);background:var(--paper);border-color:var(--line)}
.quick-start .need-options label:has(input:checked){background:#fff4c6;border-color:var(--ink)}
.quick-start>label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600}
.quick-start input:not([type=radio]){border-radius:var(--radius);background:var(--surface);border-color:#8e979f;min-height:50px}
.quick-submit{width:100%;margin-top:14px;background:var(--signal);border-color:var(--signal);color:var(--ink)}
.quick-submit:hover{background:var(--signal-hover);border-color:var(--signal-hover)}
.quick-submit svg{width:20px;height:20px}
.quick-note{font-size:13px;line-height:1.5;color:var(--muted);margin-top:12px}

/* Slik jobber vi */
.process-bar{font-weight:500}
.process-content{padding:8px 0 44px;gap:48px}
.process-content h3{font-size:21px;letter-spacing:-.01em}
.process-content p{max-width:44ch}
.step-number{display:inline-block;font-weight:700;color:var(--ink);border-bottom:3px solid var(--signal);padding-bottom:2px}

/* Tjenester */
.services h2,.sign-copy h2,.follow-through h2,.weather-intro h2{letter-spacing:-.025em}
.service-grid h3{letter-spacing:-.02em}
.service-grid .service-link{font-weight:600}

/* Avslutning: tydelig mørk CTA-flate */
.follow-through{background:var(--ink);color:var(--paper);padding:56px clamp(24px,4vw,64px);margin:56px 0;border-radius:var(--radius);align-items:center}
.follow-through .section-kicker{color:#c7cdd4}
.follow-through>div>p:not(.section-kicker){color:#dfe3e8}
.follow-through a{text-decoration:underline;text-underline-offset:4px}
.follow-through .button{background:var(--signal);border-color:var(--signal);color:var(--ink);margin-top:6px}
.follow-through .button:hover{background:var(--signal-hover);border-color:var(--signal-hover)}
.follow-through button:focus-visible,.follow-through a:focus-visible{outline-color:var(--signal)}
.service-page .follow-through{border-top:0}
footer{border-top:1px solid var(--line)}
.follow-through+footer{border-top:0}

/* ---------- Undersider ---------- */
.service-page-hero{max-width:none;display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,410px);gap:64px;align-items:start;padding:clamp(28px,5vw,64px) 0 clamp(40px,5vw,64px)}
.service-back{font-size:15px;margin-bottom:28px;color:var(--muted)}
.service-back:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
.service-page h1{font-size:clamp(40px,4.9vw,74px);line-height:1.03;letter-spacing:-.035em;margin-top:12px;font-weight:760}
.service-lead{font-size:clamp(18px,1.5vw,21px);line-height:1.6;margin:24px 0 28px;max-width:var(--measure)}
.service-page .hero-actions{gap:12px}
.service-page .quick-start{margin-top:8px}
.service-photo{margin:0 0 8px;aspect-ratio:16/7;background:#dfe3e6;overflow:hidden;border-radius:var(--radius);position:relative}
.service-photo img{display:block;width:100%;height:100%;object-fit:cover}
.service-photo-concept{aspect-ratio:16/8}
.service-photo figcaption{position:absolute;left:12px;bottom:12px;right:12px;width:fit-content;font-size:13px;line-height:1.4;background:#f6f5f1f2;padding:7px 10px;border-radius:2px}
.service-page-content{gap:0 64px;padding:40px 0 64px;border-top:0}
.service-page-content article{border-top:1px solid var(--line-strong);padding:24px 0 36px}
.service-page-content h2{font-size:clamp(22px,2vw,28px);letter-spacing:-.02em;margin-bottom:12px}
.service-page-content p{font-size:17px;line-height:1.7;color:#27323d}
.service-page-faq{padding-bottom:24px}
.service-page-faq>.section-kicker{margin-bottom:10px}
.service-page-faq h2{margin-bottom:12px}
.service-page-faq details{padding:0;border-bottom:1px solid var(--line-strong)}
.service-page-faq details:first-of-type{border-top:1px solid var(--line-strong)}
.service-page-faq summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px 0;font-size:18px;line-height:1.4}
.service-page-faq summary::-webkit-details-marker{display:none}
.service-page-faq summary::after{content:"";flex:none;width:12px;height:12px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-3px) rotate(45deg);transition:transform var(--motion-normal,.2s) ease}
.service-page-faq details[open] summary::after{transform:translateY(3px) rotate(-135deg)}
.service-page-faq summary:hover{color:var(--ink-soft);text-decoration:underline;text-underline-offset:4px}
.service-page-faq details p{margin:0 0 20px;color:#27323d}
.service-page-faq>p:last-child{margin-top:20px}
.service-page-faq>p a{text-decoration:underline;text-underline-offset:4px}

/* ---------- Mellomstore skjermer ---------- */
@media(max-width:1100px){
 .hero-copy{grid-template-columns:minmax(0,1fr) minmax(320px,380px);gap:36px}
 .service-page-hero{grid-template-columns:minmax(0,1fr) minmax(320px,370px);gap:40px}
}
@media(max-width:900px){
 .hero-copy,.service-page-hero{grid-template-columns:1fr;gap:28px}
 .quick-start{max-width:560px}
 .service-page-content{grid-template-columns:1fr}
}

/* ---------- Mobil ---------- */
@media(max-width:760px){
 body{border-top-width:3px}
 .site-header nav>.button{top:14px}
 .hero-copy{padding-top:18px;padding-bottom:28px;gap:24px}
 .hero-copy h1{font-size:clamp(42px,11.5vw,64px)}
 .hero-lead{font-size:20px;margin-top:16px}
 .hero-main .hero-actions{margin-top:20px;gap:6px 14px}
 .hero-main .hero-actions .button{font-size:15px;min-height:48px;flex:0 0 auto}
 .hero-main .hero-actions .button-ghost{padding-inline:2px}
 .hero-proof{font-size:14px;margin-top:14px}
 .quick-start{padding:20px 18px 18px}
 .quick-start h2{font-size:24px;margin-bottom:14px}
 .quick-start .need-options{flex-direction:column}
 .work-scene{height:300px}
 .process-content{padding-bottom:32px;gap:24px}
 .follow-through{margin:36px calc(-1 * var(--gutter));border-radius:0;padding:40px var(--gutter)}
 .follow-through .button{width:100%}
 .service-page-hero{padding-top:20px}
 .service-back{margin-bottom:18px}
 .service-page h1{font-size:clamp(34px,9.6vw,48px)}
 .service-lead{font-size:18px;margin:18px 0 22px}
 .service-page .hero-actions .button{width:100%}
 .service-photo{aspect-ratio:4/3;margin-inline:calc(-1 * var(--gutter));border-radius:0}
 .service-page-content{padding:24px 0 40px}
 .service-page-content article{padding:20px 0 28px}
 .service-page-content p{font-size:16px}
 .service-page-faq summary{font-size:17px}
 /* Mobil kontaktlinje også på undersider */
 .mobile-contact .button{min-height:50px;font-size:15px}
}

@media(prefers-reduced-motion:reduce){.service-page-faq summary::after{transition:none}}
