*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --forest: #1a3a2a; --moss: #2d5a3d; --sage: #6b8f71;
  --cream: #f5f0e8; --warm: #ede8de; --gold: #c8923c;
  --text: #1c2b22; --muted: #6b7c6e; --white: #ffffff;
  --line: #e8e2d8; --line-strong: #ddd6c8;
}
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); min-height: 100vh; }
a { color: var(--moss); }

/* NAV */
.topnav { background: var(--forest); padding: 0 24px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.topnav-inner { max-width: 900px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; min-height: 52px; gap: 16px; flex-wrap: wrap; padding: 8px 0; }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--cream); text-decoration: none; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.nav-logo em { color: var(--gold); font-style: italic; }
.nav-links { display: flex; gap: 4px 18px; flex-wrap: wrap; align-items: center; }
.nav-link { font-size: 12px; color: var(--sage); text-decoration: none; transition: color 0.15s; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--cream); }
.nav-link.cta { background: var(--gold); color: var(--white); padding: 6px 12px; border-radius: 100px; font-weight: 500; }
.nav-link.cta:hover { background: #b07d30; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; margin: -8px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 10px; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 8px; }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 15px; padding: 11px 4px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-link.cta { margin-top: 10px; text-align: center; padding: 12px; border-radius: 10px; }
  .topnav-inner { flex-wrap: wrap; }
}

/* HERO */
.hero { background: var(--forest); padding: 0 24px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(104,145,110,0.25) 0%, transparent 70%); pointer-events: none; }
.hero-inner { max-width: 900px; margin: 0 auto; padding: 44px 0 36px; position: relative; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); margin-bottom: 12px; }
h1 { font-family: 'Playfair Display', serif; font-size: clamp(30px, 5vw, 50px); font-weight: 900; color: var(--cream); line-height: 1.08; margin-bottom: 14px; }
h1 em { color: var(--gold); font-style: italic; }
.hero-sub { font-size: 15px; color: #a8c2ae; max-width: 520px; line-height: 1.6; }

/* LAYOUT */
.main { max-width: 900px; margin: 0 auto; padding: 32px 24px 80px; }
.section { margin-bottom: 48px; }
.section-header { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1.5px solid var(--line-strong); }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--forest); }
.section-header .sub { font-size: 13px; color: var(--muted); }
.section-header .more { margin-left: auto; font-size: 13px; color: var(--moss); text-decoration: none; white-space: nowrap; }
.section-header .more:hover { text-decoration: underline; }
.two-col { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 720px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--white); border-radius: 14px; padding: 20px 22px; border: 1.5px solid var(--line); transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; }
.card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--moss); transform: scaleX(0); transform-origin: left; transition: transform 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-color: #c8c0b0; }
.card:hover::after { transform: scaleX(1); }
.card.gold::after { background: var(--gold); }
.card-kicker { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); display: flex; gap: 10px; align-items: center; }
.card-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--forest); line-height: 1.3; }
.card-text { font-size: 13px; color: var(--muted); line-height: 1.55; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.chip { font-size: 11px; font-weight: 500; padding: 4px 10px; border-radius: 100px; background: var(--warm); color: var(--muted); text-decoration: none; }
.chip.contact { background: #e8f0e9; color: var(--moss); }
.chip.loc { background: #fff8ee; color: #9a6220; }
.chip.web { background: #e3f2fd; color: #1565c0; }
.chip.soker { background: #fdecea; color: #a23b2e; }
.chip.erbjuder { background: #e8f0e9; color: var(--moss); }
.chip.exempel { background: transparent; border: 1px dashed #c8c0b0; color: #9a9385; }
.card-link { position: absolute; inset: 0; }

/* EVENT ROW */
.event-list { display: flex; flex-direction: column; gap: 10px; }
.event { display: grid; grid-template-columns: 64px 1fr; gap: 16px; background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; align-items: start; transition: border-color 0.18s, box-shadow 0.18s; }
.event:hover { border-color: #c8c0b0; box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.event-date { text-align: center; background: var(--forest); color: var(--cream); border-radius: 10px; padding: 8px 4px; line-height: 1.1; }
.event-date .d { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; display: block; }
.event-date .m { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); }
.event-date.akademi { background: var(--gold); }
.event-date.akademi .m { color: rgba(255,255,255,0.8); }
.event-body { min-width: 0; }
.event-title { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--forest); line-height: 1.3; margin-bottom: 4px; }
.event-info { font-size: 13px; color: var(--muted); line-height: 1.5; }
.event-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.week-label { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.week-label:first-child { margin-top: 0; }

/* PILLS */
.pill-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.pill { padding: 7px 16px; border-radius: 100px; font-size: 13px; font-weight: 500; cursor: pointer; border: 1.5px solid var(--line-strong); background: var(--warm); color: var(--muted); transition: all 0.18s; user-select: none; }
.pill:hover { border-color: var(--moss); color: var(--moss); }
.pill.active { background: var(--moss); color: var(--cream); border-color: var(--moss); }

/* BANNERS */
.banner { background: var(--forest); border-radius: 12px; padding: 18px 20px; display: flex; align-items: center; gap: 16px; text-decoration: none; border: 1.5px solid rgba(255,255,255,0.08); transition: background 0.2s; }
.banner:hover { background: var(--moss); }
.banner-icon { font-size: 28px; flex-shrink: 0; }
.banner-text { flex: 1; min-width: 0; }
.banner-label { font-size: 10px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage); margin-bottom: 3px; }
.banner-title { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--cream); line-height: 1.3; }
.banner-sub { font-size: 12px; color: #a8c2ae; margin-top: 2px; }
.banner-arrow { color: var(--gold); font-size: 20px; flex-shrink: 0; }
.banner.gold { background: var(--gold); border-color: transparent; }
.banner.gold:hover { background: #b07d30; }
.banner.gold .banner-label, .banner.gold .banner-sub { color: rgba(255,255,255,0.8); }
.banner.gold .banner-title { color: var(--white); }
.banner.gold .banner-arrow { color: var(--white); }

/* BUTTONS & FORMS */
.btn-primary { padding: 12px 24px; background: var(--gold); color: var(--white); border: none; border-radius: 10px; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.2s; white-space: nowrap; text-decoration: none; display: inline-block; }
.btn-primary:hover { background: #b07d30; }
.btn-primary:disabled { opacity: 0.6; cursor: default; }
.btn-secondary { padding: 11px 22px; background: var(--warm); border: 1.5px solid var(--line-strong); border-radius: 10px; font-family: 'DM Sans', sans-serif; font-size: 14px; cursor: pointer; color: var(--moss); transition: background 0.15s; text-decoration: none; display: inline-block; }
.btn-secondary:hover { background: var(--line-strong); }
.form-card { background: var(--white); border: 1.5px solid var(--line); border-radius: 16px; padding: 24px; }
.form-card h3 { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--forest); margin-bottom: 6px; }
.form-card .sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 11px 14px; border: 1.5px solid var(--line-strong); border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text); background: var(--cream); outline: none; transition: border-color 0.18s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--moss); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 20px; align-items: center; flex-wrap: wrap; }
.form-note { font-size: 12px; color: var(--muted); margin-right: auto; line-height: 1.5; }
.success { background: #e8f0e9; border: 1.5px solid #bcd5c1; color: var(--forest); border-radius: 12px; padding: 18px 20px; font-size: 14px; line-height: 1.6; }
.success strong { font-family: 'Playfair Display', serif; font-size: 17px; display: block; margin-bottom: 4px; }

/* LINK GRID (kommunen) */
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.link-tile { background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: 16px 18px; text-decoration: none; color: var(--text); display: flex; gap: 12px; align-items: flex-start; transition: border-color 0.18s, transform 0.18s; }
.link-tile:hover { border-color: var(--moss); transform: translateY(-2px); }
.link-tile .ic { font-size: 22px; flex-shrink: 0; }
.link-tile .t { font-weight: 500; font-size: 14px; color: var(--forest); margin-bottom: 2px; }
.link-tile .s { font-size: 12px; color: var(--muted); line-height: 1.45; }

/* NEWS */
.news-list { display: flex; flex-direction: column; gap: 0; }
.news { padding: 14px 0; border-bottom: 1px solid var(--line-strong); }
.news:last-child { border-bottom: none; }
.news .dt { font-size: 11px; color: var(--muted); letter-spacing: 0.05em; margin-bottom: 3px; }
.news .t { font-weight: 500; font-size: 14px; color: var(--forest); line-height: 1.4; }
.news .s { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.5; }

/* PORTRAIT */
.portrait-hero { background: var(--white); border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; display: grid; grid-template-columns: 1fr; }
@media (min-width: 720px) { .portrait-hero { grid-template-columns: 5fr 7fr; } }
.portrait-img { background: linear-gradient(135deg, var(--moss), var(--forest)); min-height: 220px; display: flex; align-items: flex-end; padding: 24px; color: var(--cream); position: relative; }
.portrait-img .q { font-family: 'Playfair Display', serif; font-style: italic; font-size: 20px; line-height: 1.35; }
.portrait-body { padding: 28px; }
.portrait-body h3 { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--forest); margin-bottom: 4px; }
.portrait-body .who { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.portrait-body p { font-size: 14px; line-height: 1.7; margin-bottom: 12px; }
.portrait-chain { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }

/* DEMO NOTICE */
.demo-note { background: #fff8ee; border: 1px dashed #d9b878; color: #7a5a1e; border-radius: 10px; padding: 10px 14px; font-size: 12px; line-height: 1.5; margin-bottom: 24px; }
.demo-note b { font-weight: 500; }

/* PROSE */
.prose { max-width: 700px; }
.prose p { font-size: 15px; line-height: 1.7; margin-bottom: 14px; }
.prose h3 { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--forest); margin: 26px 0 8px; }

footer { background: var(--forest); color: #a8c2ae; text-align: center; padding: 28px 20px; font-size: 13px; line-height: 1.8; }
footer strong { color: var(--cream); }
footer a { color: var(--sage); }
.footer-tagline { font-family: 'Playfair Display', serif; font-style: italic; color: var(--cream); font-size: 15px; margin-bottom: 6px; }
