/* NNL website kit — layout & component styling.
   Tokens come from ../../colors_and_type.css */

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font-body); color: var(--fg-1); background: var(--paper); }
.kit-scroll { height: 100vh; overflow-y: auto; scroll-behavior: smooth; }

/* ---------- Shared ---------- */
.eyebrow { font: var(--label); text-transform: uppercase; letter-spacing: .14em; color: var(--fg-2); margin-bottom: 16px; }
.eyebrow.on-blue { color: var(--himmelbla); }
.section { padding: 104px 40px; max-width: 1200px; margin: 0 auto; }
.section-head { max-width: 720px; }
.section-title { font: var(--h1); letter-spacing: -.01em; color: var(--ink); margin: 0 0 16px; text-wrap: balance; }
.section-lead { font: var(--body-lg); color: var(--fg-2); margin: 0; max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn { font: var(--button); border-radius: var(--r-pill); padding: 14px 26px; border: 1.5px solid transparent;
  cursor: pointer; display: inline-flex; align-items: center; gap: 9px; transition: all var(--dur) var(--ease); white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--stodig-bla); color: #fff; }
.btn-primary:hover { background: #1d2560; }
.btn-accent { background: var(--modig-orange); color: #4a1f15; }
.btn-accent:hover { filter: brightness(.96); }
.btn-ghost { background: transparent; color: var(--stodig-bla); border-color: var(--line); }
.btn-ghost:hover { background: var(--mist); border-color: var(--himmelbla); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- Tags ---------- */
.tag { display: inline-block; font-size: 13px; font-weight: 500; border-radius: var(--r-pill); padding: 5px 13px; }
.tag-blue { background: var(--mist); color: var(--stodig-bla); }
.tag-green { background: var(--frisk-gronn); color: #5d5f1f; }
.tag-orange { background: #FDE7E0; color: #B04A35; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; transition: all var(--dur) var(--ease); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 18px 40px; display: flex; align-items: center; gap: 32px; }
.nav-scrolled { background: rgba(255,255,255,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.nav-wordmark { font-family: var(--font-display); font-size: 20px; color: var(--ink); white-space: nowrap; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-link { font-size: 15px; font-weight: 500; color: var(--fg-2); cursor: pointer; transition: color var(--dur) var(--ease); }
.nav-link:hover { color: var(--stodig-bla); }
.nav-cta .btn { padding: 11px 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--stodig-bla); color: #fff; overflow: hidden; }
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 112px 40px 96px; position: relative; z-index: 2; }
.hero-bird { position: absolute; right: -60px; top: -40px; width: 460px; opacity: .1; z-index: 1; }
.hero-title { font-family: var(--font-display); font-weight: 500; font-size: 82px; line-height: 1.0; letter-spacing: -.02em; margin: 0 0 24px; }
.hero-lead { font: var(--body-lg); color: var(--fg-on-blue-2); max-width: 52ch; margin: 0 0 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; align-items: center; gap: 28px; margin-top: 64px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-n { font-family: var(--font-display); font-size: 36px; color: #fff; line-height: 1; }
.stat-l { font-size: 13.5px; color: var(--fg-on-blue-2); letter-spacing: .02em; }
.stat-div { width: 1px; height: 40px; background: var(--line-blue); }

/* ---------- Programs ---------- */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.prog-card { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; cursor: pointer; font-family: inherit; display: flex; flex-direction: column; align-items: flex-start;
  gap: 0; transition: all var(--dur) var(--ease); box-shadow: var(--shadow-sm); }
.prog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--himmelbla); }
.prog-title { font-family: var(--font-display); font-size: 26px; color: var(--ink); margin: 16px 0 10px; line-height: 1.1; }
.prog-blurb { font-size: 15px; line-height: 1.55; color: var(--fg-2); margin: 0 0 18px; }
.prog-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 20px; }
.prog-meta-item { font-size: 12.5px; color: var(--fg-3); display: flex; align-items: center; }
.prog-meta-item::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--himmelbla); margin-right: 7px; }
.prog-more { margin-top: auto; font-size: 14px; font-weight: 500; color: var(--stodig-bla); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Drawer ---------- */
.drawer-scrim { position: fixed; inset: 0; background: rgba(22,25,61,.42); backdrop-filter: blur(3px); z-index: 60;
  display: flex; justify-content: flex-end; animation: fade var(--dur) var(--ease); }
.drawer { width: 460px; max-width: 92vw; height: 100%; background: #fff; padding: 56px 40px; overflow-y: auto;
  position: relative; animation: slidein var(--dur) var(--ease); }
.drawer-close { position: absolute; top: 22px; right: 22px; background: var(--mist); border: none; border-radius: 50%;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.drawer-close:hover { background: var(--line); }
.drawer-title { font-family: var(--font-display); font-size: 40px; color: var(--ink); margin: 18px 0 18px; line-height: 1.05; }
.drawer-body { font: var(--body); color: var(--fg-2); margin: 0 0 28px; }
.drawer-meta { display: flex; flex-direction: column; gap: 6px; margin-bottom: 32px; }
.drawer-meta-row { display: flex; align-items: center; gap: 6px; color: var(--fg-1); font-size: 15px; }
.drawer-meta-row span { color: var(--himmelbla); }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Culture ---------- */
.culture { }
.culture-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.culture-body { font: var(--body-lg); color: var(--fg-2); margin: 0 0 28px; }
.culture-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.culture-list li { display: flex; align-items: center; gap: 13px; font-size: 16px; color: var(--fg-1); }
.culture-list li span:first-child, .culture-list li > span { }
.culture-list li :first-child { color: var(--stodig-bla); }
.culture-media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto;
  grid-template-areas: "a b" "a c"; gap: 16px; }

/* ---------- Image placeholders ---------- */
.img-ph { position: relative; border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: flex-end; padding: 16px; }
.img-ph-blue { background: linear-gradient(180deg, #2f3a8a, var(--stodig-bla)); }
.img-ph-mist { background: var(--himmelbla); }
.img-ph-green { background: var(--engasjert-gronn); }
.img-ph-bird { position: absolute; inset: 0; margin: auto; width: 56%; opacity: .16; }
.img-ph-green .img-ph-bird { filter: brightness(0); opacity: .12; }
.img-ph-cap { position: relative; display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500;
  color: #fff; background: rgba(22,25,61,.34); padding: 6px 11px; border-radius: var(--r-pill); backdrop-filter: blur(4px); }
.img-ph-green .img-ph-cap { color: #4a4b18; background: rgba(255,255,255,.5); }

/* ---------- Quote ---------- */
.quote-sec { position: relative; background: var(--stodig-bla); color: #fff; max-width: none; padding: 112px 40px; overflow: hidden; }
.quote-bird { position: absolute; left: -40px; bottom: -50px; width: 360px; opacity: .1; }
.quote-inner { max-width: 1000px; margin: 0 auto; position: relative; z-index: 2; }
.quote-text { font-family: var(--font-display); font-weight: 500; font-size: 52px; line-height: 1.16; letter-spacing: -.01em;
  margin: 0 0 40px; text-wrap: balance; }
.quote-by { display: flex; align-items: center; gap: 16px; }
.quote-name { font-weight: 500; font-size: 16px; }
.quote-role { font-size: 14px; color: var(--fg-on-blue-2); margin-top: 2px; }

/* ---------- Signup ---------- */
.signup { }
.signup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.signup-lead { font: var(--body-lg); color: var(--fg-2); margin: 0 0 28px; }
.signup-contact { display: flex; flex-direction: column; gap: 12px; }
.signup-contact span { display: flex; align-items: center; gap: 10px; color: var(--fg-1); font-size: 15px; }
.signup-contact :first-child { color: var(--stodig-bla); }
.signup-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--fg-2); margin-bottom: 7px; letter-spacing: .01em; }
.field input, .field select { width: 100%; font: var(--body); padding: 13px 15px; border: 1px solid var(--line);
  border-radius: var(--r-md); background: #fff; color: var(--ink); outline: none; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.field.focus input, .field.focus select { border-color: var(--stodig-bla); box-shadow: 0 0 0 3px rgba(40,49,121,.14); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; cursor: pointer; }
.select-wrap span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--fg-3); pointer-events: none; }
.signup-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.signup-done { text-align: center; padding: 18px 0; }
.signup-done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--frisk-gronn); color: #5d5f1f;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.signup-done-title { font-family: var(--font-display); font-size: 30px; color: var(--ink); margin: 0 0 10px; }
.signup-done-text { font: var(--body); color: var(--fg-2); margin: 0 0 24px; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.footer-bird { position: absolute; right: 4%; top: -30px; width: 240px; opacity: .08; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 72px 40px 40px; display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; position: relative; z-index: 2; }
.footer-tag { font-family: var(--font-display); font-size: 22px; color: var(--himmelbla); margin: 20px 0 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col-h { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--fagbehag-bla); margin-bottom: 16px; }
.footer-link { display: block; font-size: 15px; color: #cfd4ea; margin-bottom: 11px; cursor: pointer; transition: color var(--dur) var(--ease); }
.footer-link:hover { color: #fff; }
.footer-base { max-width: 1200px; margin: 0 auto; padding: 24px 40px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; font-size: 13px; color: var(--fagbehag-bla); position: relative; z-index: 2; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .hero-title { font-size: 56px; }
  .prog-grid { grid-template-columns: 1fr; }
  .culture-grid, .signup-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr; }
  .quote-text { font-size: 36px; }
  .section { padding: 72px 24px; }
}
