/* ===== Akadi — design tokens ===== */
:root {
  --teal:        #1ea1cb;  /* primary brand */
  --teal-dark:   #1786ab;
  --teal-darker: #0e6585;
  --ink:         #0c2733;  /* deep slate for headings */
  --slate:       #2d4a57;
  --muted:       #5b7682;
  --bg:          #f5fafc;
  --bg-alt:      #ffffff;
  --line:        #dcebf1;
  --accent:      #f0a35e;  /* warm highlight, used sparingly */

  --maxw: 1080px;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(12, 39, 51, 0.18);
  --shadow-sm: 0 4px 14px -8px rgba(12, 39, 51, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--slate);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; }

a { color: var(--teal-darker); text-decoration: none; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; color: var(--teal); }
.brand-mark { height: 34px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: var(--slate);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--teal-darker); }
.nav-cta {
  background: var(--teal);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.15s ease, transform 0.15s ease;
}
.nav-cta:hover { background: var(--teal-dark); transform: translateY(-1px); }

/* ===== Eyebrows & section scaffolding ===== */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-darker);
  margin: 0 0 14px;
}
.eyebrow-center { text-align: center; }
.eyebrow-light { color: rgba(255, 255, 255, 0.85); }

.section { padding: 92px 0; }

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}
.section-title.light { color: #fff; text-align: left; }

.section-intro {
  max-width: 640px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 1.08rem;
  color: var(--muted);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(30, 161, 203, 0.7);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--teal-darker);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--teal); transform: translateY(-2px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 140px;
  background:
    radial-gradient(1200px 500px at 75% -10%, rgba(30, 161, 203, 0.18), transparent 60%),
    linear-gradient(180deg, #eaf6fb 0%, var(--bg) 70%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--teal), var(--teal-darker));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.18rem;
  color: var(--slate);
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate);
}
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges span { font-size: 1.1rem; }

.hero-mountains {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 220px;
  z-index: 1;
}
.hero-mountains .m-back { fill: rgba(30, 161, 203, 0.16); }
.hero-mountains .m-front { fill: rgba(30, 161, 203, 0.28); }

/* ===== Cards / tjenester ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 54px;
}
.card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(30, 161, 203, 0.4);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(30, 161, 203, 0.14), rgba(30, 161, 203, 0.06));
  color: var(--teal-darker);
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { margin: 0; font-size: 0.98rem; color: var(--muted); }

/* ===== Utfordringer ===== */
.challenges {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.challenges-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 54px;
}
.challenge {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 14px;
  padding: 26px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.challenge:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.challenge-q {
  font-style: italic;
  color: var(--muted);
  font-size: 1.06rem;
  margin: 0 0 16px;
}
.challenge-a { margin: 0; color: var(--ink); font-size: 0.99rem; line-height: 1.6; }
.challenge-tag {
  display: inline-block;
  font-style: normal;
  font-weight: 700;
  color: var(--teal-darker);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 9px;
  padding: 3px 9px;
  background: rgba(30, 161, 203, 0.1);
  border-radius: 7px;
  transform: translateY(-1px);
}

/* ===== Lokalt band ===== */
.local-band {
  background: linear-gradient(135deg, var(--teal-darker) 0%, var(--teal) 100%);
  color: rgba(255, 255, 255, 0.92);
}
.local-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: center;
}
.local-text p { font-size: 1.08rem; }
.local-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.local-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
  color: #fff;
}
.local-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
}
.local-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 38px 28px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.local-card svg { width: 46px; height: 46px; color: #fff; }
.local-card-city {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  margin: 12px 0 2px;
}
.local-card-sub { margin: 0; color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }

/* ===== Team ===== */
.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 54px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.profile {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
}
.avatar {
  width: 116px;
  height: 116px;
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: linear-gradient(135deg, var(--teal), var(--teal-darker));
  border: 4px solid var(--bg-alt);
  box-shadow: 0 0 0 2px rgba(30, 161, 203, 0.45), 0 14px 26px -12px rgba(12, 39, 51, 0.45);
}
.profile h3 { font-size: 1.3rem; }
.role {
  color: var(--teal-darker);
  font-weight: 600;
  font-size: 0.92rem;
  margin: 6px 0 14px;
}
.bio { margin: 0 0 20px; color: var(--muted); font-size: 0.98rem; }
.profile-links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  color: var(--teal-darker);
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.profile-link:hover {
  border-color: var(--teal);
  background: rgba(30, 161, 203, 0.06);
  transform: translateY(-2px);
}
.profile-link svg { width: 18px; height: 18px; }

/* ===== Jobbe i Akadi ===== */
.join { background: var(--bg); }
.join-card {
  max-width: 780px;
  margin: 0 auto;
  background: linear-gradient(160deg, #eaf6fb, var(--bg-alt));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 52px 48px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.join-card .section-title { text-align: center; }
.join-lead {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--slate);
  font-size: 1.08rem;
}
.join-points {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}
.join-points li {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}
.join-points strong {
  display: block;
  color: var(--ink);
  font-size: 0.99rem;
  margin-bottom: 6px;
}
.join-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}
.join-note {
  margin: 24px auto 0;
  max-width: 500px;
  font-size: 0.9rem;
  color: var(--muted);
}
@media (max-width: 640px) {
  .join-card { padding: 40px 24px; }
  .join-points { grid-template-columns: 1fr; }
}

/* ===== Kontakt ===== */
.contact { background: var(--bg-alt); border-top: 1px solid var(--line); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.contact-text .section-title { text-align: left; }
.contact-text p { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
a.contact-card:hover { transform: translateY(-2px); border-color: var(--teal); }
.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}
.contact-value { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.contact-addr { font-size: 0.92rem; color: var(--muted); }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 54px 0;
  text-align: center;
}
.footer-inner { display: grid; place-items: center; gap: 10px; }
.footer-mark { height: 34px; color: var(--teal); }
.footer-tagline { margin: 6px 0 0; color: rgba(255, 255, 255, 0.92); font-weight: 500; }
.footer-copy { margin: 0; font-size: 0.88rem; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .local-inner, .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-text .section-title { text-align: center; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .site-nav { gap: 16px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .cards, .team, .challenges-list { grid-template-columns: 1fr; }
  .hero-badges { gap: 14px 22px; }
}
