:root {
  --ink: #1c1917;
  --ink-soft: #57514d;
  --paper: #ffffff;
  --mist: #f5f4f2;
  --rule: #e4e1dd;
  --glow: #e8642a;
  --pink: #e5197f;
  --green: #4e9b3c;
  --blue: #2a8ed0;
  --red: #e1251b;
  --display: "Josefin Sans", "Futura", "Century Gothic", "Avenir Next", sans-serif;
  --body: "Figtree", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

h1, h2, h3 { font-family: var(--display); font-weight: 300; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 200; margin-bottom: 1.4rem; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.55rem; font-weight: 400; margin-bottom: .6rem; }
p { margin: 0 0 1em; max-width: 62ch; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40ch; }

/* Header */
.site-header { padding-top: env(safe-area-inset-top, 0px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand .figur { width: 40px; height: auto; }
.brand .navn { height: 19px; width: auto; }
.nav { display: flex; gap: 1.8rem; }
.nav a { text-decoration: none; font-size: .98rem; font-weight: 500; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--rule); }
.nav a[aria-current="page"] { border-bottom-color: var(--glow); }

/* Knapper */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: .85rem 1.5rem; border-radius: 3px; font-size: 1rem;
}
.btn-main { background: var(--ink); color: #fff; }
.btn-main:hover { background: var(--glow); }
.btn-line { border: 1px solid #b9b3ae; }
.btn-line:hover { border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* Hero */
.hero .wrap {
  display: block;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
  padding-top: clamp(3.5rem, 10vw, 7.5rem);
  padding-bottom: clamp(3.5rem, 10vw, 7.5rem);
}
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 65%;
  border-radius: 240px 240px 4px 4px;
}

/* Seksjoner */
section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.tint { background: var(--mist); }
.intro { max-width: 42rem; margin-bottom: 3rem; }
.intro p { font-size: 1.15rem; color: var(--ink-soft); }

.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.service { padding: 2.4rem 2rem 1rem 0; }
.service + .service { padding-left: 2rem; border-left: 1px solid var(--rule); }
.service img { height: 84px; width: auto; margin-bottom: 1.5rem; }
.service p { color: var(--ink-soft); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split p { color: var(--ink-soft); }
.insta-logo { display: block; width: clamp(160px, 22vw, 220px); margin: 0 0 2.2rem; border-radius: 50%; }
.insta-logo img { width: 100%; height: auto; }
.links { list-style: none; padding: 0; margin: 0; }
.links li { border-bottom: 1px solid var(--rule); }
.links li:first-child { border-top: 1px solid var(--rule); }
.links a { display: block; padding: 1rem 0; text-decoration: none; font-weight: 500; }
.links a:hover .link-name { color: var(--glow); }
.links .link-name { display: block; }
.links .link-desc { display: block; font-weight: 400; font-size: .95rem; color: var(--ink-soft); margin-top: .15rem; }
.feature {
  border-left: 3px solid var(--glow); padding: 1.6rem 0 1.6rem 1.6rem; margin-top: 2rem;
}
.feature p { margin-bottom: 0; }

/* Om oss */
.page-head { padding: clamp(3rem, 7vw, 5rem) 0 0; }
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.person img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; margin-bottom: 1.4rem; }
.person h2 { font-size: 2rem; margin-bottom: .2rem; padding-left: .9rem; }
.person:nth-child(1) h2 { border-left: 3px solid var(--blue); }
.person:nth-child(2) h2 { border-left: 3px solid var(--pink); }
.person .role { color: var(--ink-soft); font-weight: 500; padding-left: 1.1rem; margin-bottom: 1.2rem; }
.person ul { margin: 0; padding-left: 1.2rem; color: var(--ink-soft); }
.person li { margin-bottom: .35rem; }
.story { max-width: 44rem; }
.story p { color: var(--ink-soft); font-size: 1.1rem; }
.orgnr { color: var(--ink); font-weight: 500; }

/* Kontakt */
.contact-list { list-style: none; margin: 0; padding: 0; max-width: 40rem; }
.contact-list li { padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.contact-list li:first-child { border-top: 1px solid var(--rule); }
.contact-list .label { display: block; font-size: .95rem; color: var(--ink-soft); }
.contact-list .value { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 300; text-decoration: none; }
.contact-list a.value:hover { color: var(--glow); }
.contact-list .note { display: block; color: var(--ink-soft); font-size: .95rem; }

/* Footer */
footer { background: var(--paper); border-top: 1px solid var(--rule); color: var(--ink-soft); font-size: .92rem; padding: 2.2rem 0 2.6rem; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
footer .brand .figur { width: 28px; }
footer .brand .navn { height: 14px; }
footer nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .site-header .wrap { padding-top: .8rem; padding-bottom: .8rem; }
  .nav { gap: 1.2rem; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo img { aspect-ratio: 4 / 3; border-radius: 180px 180px 4px 4px; }
  .services { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 2rem 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .split, .people { grid-template-columns: 1fr; }
}
