/* Arctic Soulcraft – arcticsoulcraft.com. Fonter ligger lokalt; ingen eksterne kall. */
@font-face{font-family:"EB Garamond";src:url(/assets/fonts/ebgaramond_n4.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"EB Garamond";src:url(/assets/fonts/ebgaramond_i4.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"EB Garamond";src:url(/assets/fonts/ebgaramond_n7.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"EB Garamond";src:url(/assets/fonts/ebgaramond_i7.woff2) format("woff2");font-weight:700;font-style:italic;font-display:swap}

:root{--paper:#F6F5F3;--ink:#2A2A2A;--muted:#8A857C;--soft:#6C6C6C;--line:rgba(42,42,42,.16);--dark:#333}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"EB Garamond",Garamond,"Times New Roman",serif;font-size:14px;line-height:1.2;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
.skip{position:absolute;left:-9999px}.skip:focus{left:16px;top:8px;background:#fff;padding:6px 10px;z-index:10}

/* topp */
.site-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:30px 40px 22px;max-width:1440px;margin:0 auto}
.logo img{width:152px;height:60px;object-fit:contain}
.hdr-right{display:flex;justify-content:flex-end;gap:28px;font-size:16px}
.hdr-right a{text-decoration:none}
.hdr-right a:hover{text-decoration:underline;text-underline-offset:4px}
.hdr-right .lang{color:var(--muted)}

/* bilder i full bredde */
.as-hero{position:relative;height:var(--h);min-height:240px;background:var(--dark);overflow:hidden}
.as-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* tekstseksjoner */
.text{display:flex;align-items:center;justify-content:center;min-height:var(--sh,auto);padding:40px 20px;text-align:center}
.text .inner{width:100%;max-width:455px;margin:0 auto}
.text.cols3 .inner{max-width:1440px;display:grid;grid-template-columns:repeat(3,1fr);gap:48px;align-items:start}
.text.imgsec{padding:0}.text.imgsec .inner{max-width:none}
.inline-img{margin:0}.inline-img img{width:100%;height:auto}
.text.imgsec .inner,.text.imgsec .col,.text.imgsec .inline-img{height:var(--sh)}
.text.imgsec .inline-img img{height:100%;object-fit:cover;object-position:50% 50%}
.text h2{font-weight:400;font-size:48px;line-height:1;margin:0 0 40px}
.text.cols3 h2{font-size:24px;margin:80px 0 18px}
.text h3{font-weight:400;font-size:32px;line-height:1.1;margin:0 0 48px}
.text h5{font-weight:400;font-size:16px;line-height:1.2;margin:0 0 30px}
.text h5.eyebrow{color:var(--muted)}
.text h5.sub{margin:-4px 0 11px}
.text h3+h5.sub{margin-top:66px}
.text p{margin:0 0 14px;line-height:1.2}
.text p.gap{height:1.2em}
.text .btnrow{margin:50px 0 0}
.btn{display:inline-flex;align-items:center;justify-content:center;width:288px;max-width:100%;height:49px;border:1px solid var(--line);border-radius:14px;text-decoration:none;transition:background .2s}
.text.cols3 .btn{width:100%}
.text.cols3 .btnrow{margin-top:38px}
.text.cols3{align-items:flex-start;padding-top:30px}
.btn:hover{background:rgba(42,42,42,.04)}

/* juridiske sider */
.policy{padding:90px 20px 110px}
.policy .inner{max-width:640px;margin:0 auto;font-size:17px;line-height:1.55}
.policy h1{font-weight:400;font-size:40px;line-height:1.1;margin:0 0 10px;text-align:center}
.policy .meta{text-align:center;color:var(--muted);margin:0 0 48px}
.policy h2{font-weight:400;font-size:24px;margin:42px 0 12px}
.policy p{margin:0 0 14px}
.policy ul{margin:0 0 14px;padding-left:20px}
.policy dl{display:grid;grid-template-columns:max-content 1fr;gap:8px 24px;margin:0}
.policy dt{color:var(--muted)}.policy dd{margin:0}

/* bunn */
.site-footer{padding:60px 40px 24px;max-width:1440px;margin:0 auto}
.credits{display:grid;grid-template-columns:1fr 1fr;text-align:center;gap:24px;padding:20px 0 50px}
.credits img{margin:0 auto 46px}
.f-logo{width:212px;height:84px;object-fit:contain}
.f-sign{width:182px;height:84px;object-fit:contain}
.credits p{margin:0;font-size:12px;color:var(--soft)}
.bottom{border-top:1px solid rgba(42,42,42,.1);padding-top:20px;display:flex;flex-wrap:wrap;gap:6px 22px;font-size:12px;color:var(--soft)}
.bottom a{text-decoration:none}.bottom a:hover{text-decoration:underline}

@media (max-width:749px){
  .site-header{padding:24px 16px 18px;grid-template-columns:1fr auto 1fr}
  .logo img{width:116px;height:46px}
  .hdr-right{gap:16px;font-size:15px}
  .as-hero{height:var(--hm)}
  .text{padding:32px 16px;min-height:var(--shm,auto)}
  .text h2{font-size:44px}
  .text.cols3 .inner{grid-template-columns:1fr;gap:8px}
  .text.cols3 h2{margin-top:150px}
  .text.cols3 .col:first-child h2{margin-top:80px}
  .site-footer{padding:40px 16px 20px}
  .text.imgsec .inner,.text.imgsec .col,.text.imgsec .inline-img{height:var(--shm)}
  .credits{grid-template-columns:1fr 1fr;gap:12px;padding:10px 0 40px;align-items:end}
  .credits img{margin-bottom:28px}
  .f-logo{width:120px;height:48px}
  .f-sign{width:104px;height:48px}
  .credits p{font-size:11px}
  .bottom{flex-direction:column;align-items:center;text-align:center;gap:4px}
  .policy{padding:60px 16px 80px}.policy h1{font-size:32px}
  .policy dl{grid-template-columns:1fr;gap:2px}.policy dd{margin-bottom:10px}
}

/* Dypøkologisk psykologi – bildet står stille og arket glir over, som før.
   Arket er luftig og sentrert som forsiden, og teksten presses ikke til siden. */
body #as-dop{--ink:#2A2A2A;--muted:#8A857C;--line:rgba(42,42,42,.14);--sans:"EB Garamond",Garamond,"Times New Roman",serif;font-size:16px;line-height:1.5}
body #as-dop .ark{width:min(720px,86%);padding:clamp(56px,7vw,96px) clamp(28px,6vw,80px);text-align:center}
body #as-dop .eyebrow{text-transform:none;letter-spacing:0;font-size:16px;color:#8A857C;margin:0 0 24px}
body #as-dop h1{font-size:48px;line-height:1.05;margin-bottom:34px;color:#2A2A2A}
body #as-dop h2{font-size:32px;line-height:1.15;margin-bottom:28px;color:#2A2A2A}
body #as-dop h3{font-size:22px;line-height:1.2;color:#2A2A2A}
body #as-dop .prose{max-width:none;gap:14px;margin-top:0 !important}
body #as-dop .lead{font-size:18px;line-height:1.6}
body #as-dop .sub{font-size:17px;margin:-14px 0 28px;color:#8A857C}
body #as-dop .sum{max-width:none;margin-top:40px;color:#5A564F}
body #as-dop .ark .sep{width:80px;margin:72px auto;border-top-color:rgba(42,42,42,.18)}
body #as-dop .pillars,body #as-dop .ark .pillars{display:block;margin-top:0}
body #as-dop .pillar{display:block;border-top:0;padding:0;margin:40px 0 0}
body #as-dop .pillar h3{font-size:22px;font-weight:400;letter-spacing:0;margin-bottom:12px}
body #as-dop .model .fig{display:block}
body #as-dop .model .fig figure,body #as-dop .ebfig{margin:48px 0 0}
body #as-dop .fig + .prose,body #as-dop figure + .prose,body #as-dop .ebfig + .prose{margin-top:48px !important}
body #as-dop p{line-height:1.5}
body #as-dop .lead{line-height:1.45}
body #as-dop .prose{gap:16px}
body #as-dop .sky .credit{letter-spacing:.08em}
@media (max-width:749px){
  body #as-dop .ark{width:calc(100% - 28px);padding:52px 22px 60px}
  body #as-dop h1{font-size:40px}
  body #as-dop h2{font-size:28px}
  body #as-dop .ark .sep{margin:56px auto}
}

/* Om-sidene (egne tekster fra om_tekster.json) */
.text.om h5.sub.sek{font-size:20px;margin:52px 0 16px}
.text.om p.del{margin:26px 0 6px}
.text.om p.liste{line-height:1.6}
.text.cols3.om .inner{align-items:stretch}
.text.cols3.om .col{display:flex;flex-direction:column}
.text.cols3.om h5.sub{margin:-4px 0 28px}
.text.cols3.om .btnrow{margin-top:auto;padding-top:38px}
