:root {
  --ink: #0c0d0c;
  --paper: #f2f1ec;
  --muted: #6b6a64;
  --line: rgba(12, 13, 12, 0.12);
  --line-strong: rgba(12, 13, 12, 0.22);
  --green: #1a4d35;
  --warm: #3d8f62;
  --accent-soft: #7ec99a;
  --btn: #0c0d0c;
  --btn-hover: #2a2c2a;
  --panel: #111311;
  --panel-2: #1a1d1a;
  --panel-line: rgba(255, 255, 255, 0.1);
  --panel-muted: rgba(255, 255, 255, 0.55);
  --display: "Syne", system-ui, sans-serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
#mission, #ydelser, #grundlaegger, #profiler, #kontakt {
  scroll-margin-top: 5.5rem;
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(12,13,12,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12,13,12,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
  pointer-events: none;
}
.grid-bg--dark {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 90% 70% at 30% 80%, #000 10%, transparent 75%);
  opacity: 0.7;
}

/* Nav */
.ads-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5vw;
  background: rgba(242, 241, 236, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.ads-logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.ads-nav-links {
  display: none;
  gap: 1.75rem;
  list-style: none;
}
.ads-nav-links a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}
.ads-nav-links a:hover { color: var(--ink); }
.ads-nav-cta {
  display: none;
  text-decoration: none;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
}
.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.4rem;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--paper);
  padding: 6rem 5vw 2rem;
  flex-direction: column;
  gap: 1.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}
@media (min-width: 900px) {
  .ads-nav-links, .ads-nav-cta { display: flex; }
  .burger { display: none; }
}

/* Hero — samme form som forsiden / by-sider */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7.5rem 5vw 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.hero-inner { position: relative; z-index: 1; max-width: 920px; }
.hero-brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise .8s .1s forwards;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise .8s .25s forwards;
}
.hero h1 span { color: var(--warm); }
.hero-desc {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise .8s .4s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise .8s .55s forwards;
}
.btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

.mobile-cta { display: none; }
@media (max-width: 899px) {
  .mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 60;
    min-height: 3.25rem;
    padding: 0.95rem 5vw calc(0.95rem + env(safe-area-inset-bottom, 0px));
    background: var(--btn);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 0;
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .mobile-cta.is-shown {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  body {
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  }
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}

.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 0.85rem;
}
.section--dark .kicker { color: var(--accent-soft); }
.lead {
  color: var(--muted);
  max-width: 40rem;
  font-size: 1.05rem;
}
.section--dark .lead { color: var(--panel-muted); }

/* Facts */
.facts {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(26, 77, 53, 0.04), transparent 80%),
    var(--paper);
}
.facts-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (min-width: 800px) {
  .facts-inner { grid-template-columns: repeat(4, 1fr); }
}
.fact {
  padding: 2rem 5vw;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 800px) {
  .fact { padding: 2.25rem 1.5rem; border-bottom: 0; }
  .fact:first-child { padding-left: 5vw; }
  .fact:last-child { border-right: 0; padding-right: 5vw; }
}
@media (max-width: 799px) {
  .fact:nth-child(2n) { border-right: 0; }
  .fact:nth-last-child(-n+2) { border-bottom: 0; }
}
.fact-value {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}
.fact-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Legal */
.legal-strip {
  padding: 2.5rem 5vw;
  border-bottom: 1px solid var(--line);
}
.legal-inner {
  max-width: 48rem;
}
.legal-inner p {
  color: var(--muted);
  font-size: 1rem;
}

/* Mission */
.mission {
  padding: 5rem 5vw;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 60% at 0% 50%, rgba(61, 143, 98, 0.08), transparent 70%),
    var(--paper);
}
.mission-inner { max-width: 40rem; }
.mission h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 18ch;
  margin-bottom: 1rem;
}

/* Section + work-list — samme som forsiden / webbureau */
.section {
  padding: 4.5rem 5vw;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.section h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 22ch;
  margin-bottom: 1rem;
}
.section .lead { margin-bottom: 0; }

.work-list { border-top: 1px solid var(--line); margin-top: 1.75rem; }
.work-row {
  display: grid;
  gap: 0.75rem 2rem;
  padding: 1.85rem 0;
  border-bottom: 1px solid var(--line);
}
.work-row:last-child { border-bottom: none; }
@media (min-width: 800px) {
  .work-row {
    grid-template-columns: minmax(140px, 220px) 1fr;
    align-items: start;
    gap: 0.85rem 2.5rem;
  }
}
h3.work-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0;
  transition: transform 0.25s ease;
}
.work-n {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--green);
  transition: color 0.25s ease;
}
.work-row:hover .work-n { color: var(--warm); }
.work-row:hover .work-label { transform: translateX(4px); }
.work-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 42rem;
}
@media (min-width: 800px) {
  .work-body { padding-top: 1.15rem; }
}
.work-body p { color: var(--muted); margin: 0; }

/* Founder — samme foto-setup som forsiden (.about-photo) */
.founder {
  position: relative;
  border-top: 1px solid var(--panel-line);
  border-bottom: 1px solid var(--panel-line);
  background: var(--panel);
  color: #f4f4f0;
  overflow: hidden;
}
.founder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.founder-grid {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  gap: 0;
  align-items: center;
}
.founder-photo {
  position: relative;
  background: #0a0b0a;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-bottom: 1px solid var(--panel-line);
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.founder-photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(12, 13, 12, 0.55) 0%, rgba(12, 13, 12, 0.18) 45%, transparent 100%);
}
.founder-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
}
.founder-badge-name {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}
.founder-badge-title {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.2rem;
  letter-spacing: 0.02em;
}
.founder-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem 5vw;
}
.founder-copy .kicker {
  margin-bottom: 0;
  color: var(--accent-soft);
}
.founder-rule {
  width: 48px;
  height: 2px;
  background: var(--warm);
  border: 0;
  margin: 0.15rem 0;
}
.founder-copy h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 18ch;
  margin: 0;
  color: rgba(244,244,240,.92);
}
.founder-role {
  font-weight: 600;
  color: var(--accent-soft);
  font-size: 0.95rem;
  margin: 0;
}
.founder-copy p:not(.founder-role) {
  color: var(--panel-muted);
  max-width: 34rem;
  margin: 0;
  font-size: 0.95rem;
}
.founder-copy .btn {
  align-self: flex-start;
  margin-top: 0.35rem;
}
.founder-copy .btn-primary { background: #f2f1ec; color: var(--ink); }
.founder-copy .btn-primary:hover { background: #fff; color: var(--ink); }
@media (min-width: 900px) {
  .founder-grid {
    grid-template-columns: 1fr 1.6fr;
    padding: 3.5rem 5vw;
    align-items: center;
  }
  .founder-photo {
    border-bottom: 0;
    max-width: 420px;
    width: 100%;
    justify-self: start;
  }
  .founder-copy { padding: 0 0 0 3.5rem; }
}

/* Profiles */
.profiles {
  padding: 5rem 5vw;
  border-bottom: 1px solid var(--line);
}
.profiles-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}
.profiles-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.profile-links {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 700px) {
  .profile-links { grid-template-columns: repeat(4, 1fr); }
}
.profile-links li {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.profile-links a {
  display: block;
  padding: 1.15rem 1rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background .2s, color .2s;
}
.profile-links a:hover {
  background: rgba(26, 77, 53, 0.06);
  color: var(--green);
}

/* Contact */
.contact {
  padding: 5rem 5vw;
  background: var(--panel);
  color: #f4f4f0;
}
.contact-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
}
.contact-copy h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 16ch;
}
.contact-form {
  display: grid;
  gap: 0.75rem;
}
.form-input {
  width: 100%;
  background: transparent;
  border: 1px solid var(--panel-line);
  color: #fff;
  padding: 0.9rem 1rem;
  font: inherit;
}
.form-input::placeholder { color: rgba(255,255,255,.4); }
.form-input:focus {
  outline: none;
  border-color: var(--accent-soft);
}
textarea.form-input { min-height: 120px; resize: vertical; }
.form-submit {
  border: 0;
  background: #f2f1ec;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  padding: 0.95rem 1.2rem;
  cursor: pointer;
}
.form-submit:hover { background: #fff; }
.form-submit:disabled { opacity: 0.6; cursor: wait; }
.contact-meta {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--panel-line);
}
.contact-meta .lbl {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--panel-muted);
  margin-bottom: 0.2rem;
}
.contact-meta a { text-decoration: none; color: #fff; font-weight: 500; }
.contact-meta a:hover { color: var(--accent-soft); }

/* Footer */
.ads-footer {
  padding: 0;
  border-top: 1px solid var(--panel-line);
  background: #0a0b0a;
  color: rgba(255,255,255,.45);
  font-size: 0.85rem;
}
.footer-row {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 5vw;
  border-bottom: 1px solid var(--panel-line);
}
@media (min-width: 800px) {
  .footer-row { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-logo {
  font-family: var(--display);
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  font-size: 1.25rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  max-width: 28rem;
  line-height: 1.5;
}
.f-col-title {
  font-family: var(--display);
  font-weight: 700;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.85rem;
}
.f-col ul { list-style: none; display: grid; gap: 0.45rem; }
.f-col a {
  text-decoration: none;
  color: rgba(255,255,255,.45);
  font-size: 0.85rem;
}
.f-col a:hover { color: var(--accent-soft); }
.ads-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1.15rem 5vw 1.5rem;
  font-size: 0.75rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }
