@font-face {
  font-family: 'Tanker';
  src: url('/assets/fonts/Tanker-Regular.otf') format('opentype');
  font-display: swap;
}

:root {
  --background: #131f1e;
  --foreground: #ffffff;
  --muted: #9ca3af;
  --muted-foreground: #9ca3af;
  --border: rgba(255, 255, 255, 0.1);
  --card: rgba(20, 20, 20, 0.6);
  --primary: #ff6432;
  --primary-foreground: #ffffff;
  --primary-glow: rgba(254, 106, 60, 0.55);
  --font-sans: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Tanker', sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--background);
  color: var(--foreground);
}

img {
  display: block;
}

.font-display {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.card {
  background: var(--card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 100, 50, 0.4);
  box-shadow: 0 10px 30px rgba(255, 100, 50, 0.15);
}

.input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 10px;
  color: var(--foreground);
  outline: none;
  width: 100%;
  transition: 0.2s;
  font-family: inherit;
}

.input:focus {
  border-color: rgba(255, 100, 50, 0.6);
  box-shadow: 0 0 0 2px rgba(255, 100, 50, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.2s;
  font-family: inherit;
  text-decoration: none;
}

.btn:hover {
  background: #ff7a4d;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--foreground);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-glow {
  box-shadow: 0 0 24px var(--primary-glow);
}

.btn-glow:hover {
  box-shadow: 0 0 36px rgba(254, 106, 60, 0.85);
  transform: scale(1.03);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 100, 50, 0.3);
  background: rgba(255, 100, 50, 0.1);
  padding: 6px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.glow-orange {
  box-shadow: 0 0 24px var(--primary-glow);
}

.drop-glow {
  filter: drop-shadow(0 0 18px var(--primary-glow));
}

a {
  color: inherit;
  text-decoration: none;
}

.link-orange {
  color: var(--primary);
}
.link-orange:hover {
  text-decoration: underline;
}

/* Overlay shared between age gate + cookie consent */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(10, 15, 15, 0.85);
  backdrop-filter: blur(8px);
}

.overlay[hidden] { display: none; }

.overlay-card {
  max-width: 440px;
  width: 100%;
  background: #1a2120;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cookie-banner {
  position: fixed;
  inset-inline: 16px;
  bottom: 16px;
  z-index: 90;
  background: #1a2120;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.cookie-banner[hidden] { display: none; }

.cookie-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Header */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 15, 15, 0.9);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  gap: 16px;
  position: relative;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.site-header__brand img.maskot {
  height: 28px;
  width: 28px;
  object-fit: contain;
}

.site-header__brand img.wordmark {
  height: 16px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .site-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .site-header__mobile-toggle { display: none; }
}

.site-nav__left {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
  padding-right: 16px;
}

.site-nav__right {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
  padding-left: 16px;
}

.site-nav a {
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.site-nav a:hover, .site-nav a.is-active {
  color: var(--foreground);
}

.site-nav a.prominent {
  position: relative;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  box-shadow: 0 0 24px var(--primary-glow);
  transition: all 0.2s;
}

.site-nav a.prominent:hover {
  transform: scale(1.05);
  box-shadow: 0 0 36px rgba(254, 106, 60, 0.85);
  color: var(--primary-foreground);
}

.site-header__actions {
  display: none;
  align-items: center;
  gap: 8px;
}
@media (min-width: 900px) { .site-header__actions { display: flex; } }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  transition: 0.2s;
}

.lang-toggle:hover {
  color: var(--foreground);
  border-color: rgba(255, 255, 255, 0.25);
}

.lang-menu {
  position: absolute;
  right: 16px;
  top: 60px;
  background: #1a2120;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  min-width: 140px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.lang-menu[hidden] { display: none; }

.lang-menu button {
  background: transparent;
  border: none;
  color: var(--foreground);
  text-align: left;
  padding: 8px 12px;
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
}

.lang-menu button:hover {
  background: rgba(255, 255, 255, 0.06);
}

.lang-menu button.active {
  color: var(--primary);
}

.site-header__mobile-toggle {
  background: transparent;
  border: none;
  color: var(--foreground);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  cursor: pointer;
}

.site-header__mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
}

@media (min-width: 900px) {
  .site-header__mobile-toggle { display: none; }
}

.site-header__mobile {
  border-top: 1px solid var(--border);
  background: rgba(10, 15, 15, 0.95);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-header__mobile[hidden] { display: none; }

.site-header__mobile a {
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.site-header__mobile a.prominent {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: transparent;
  text-align: center;
}

.site-header__mobile .lang-row {
  display: flex;
  gap: 8px;
}

.site-header__mobile .lang-row button {
  flex: 1;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.site-header__mobile .lang-row button.active {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--background);
  padding: 48px 16px;
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: repeat(3, 1fr); }
}

.site-footer h4 {
  margin: 0 0 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.site-footer p, .site-footer li {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

#footer-lang {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

#footer-lang button {
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  color: var(--muted-foreground);
  padding: 6px 14px;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

#footer-lang button:last-child {
  border-right: none;
}

#footer-lang button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--foreground);
}

#footer-lang button.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--foreground);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

@media (min-width: 700px) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 96px 16px 56px;
}

.hero__inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.hero__maskot-wrap {
  position: relative;
  display: inline-block;
}

.hero__maskot-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hero__maskot {
  position: relative;
  height: 96px;
  width: 96px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px var(--primary-glow));
}

@media (min-width: 768px) {
  .hero__maskot { height: 144px; width: 144px; }
}

.hero__wordmark {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px var(--primary-glow));
}

@media (min-width: 768px) {
  .hero__wordmark { height: 40px; }
}

.hero__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
}

@media (min-width: 768px) {
  .hero__title { font-size: 2rem; }
}

.hero__subtitle {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin: 0;
  max-width: 520px;
}

.hero__app-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.hero__store-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media (min-width: 600px) {
  .hero__store-badges { flex-direction: row; }
}

.hero__store-badges img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .hero__store-badges img { height: 56px; }
}

.hero__map-cta {
  margin-top: 8px;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
}

/* Background ornaments */
.bg-dots {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.06;
  background-image: radial-gradient(circle, var(--foreground) 1px, transparent 1px);
  background-size: 24px 24px;
}

.bg-spotlight {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 600px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 100, 50, 0.12), transparent 70%);
}

.section-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 16px;
}

.section-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 16px;
}

.section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 32px;
}

@media (min-width: 768px) {
  .section-title { font-size: 2rem; }
}

.steps-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  flex-shrink: 0;
}

.step-icon svg {
  width: 22px;
  height: 22px;
}

/* Ölkartan map */
#olkartan-map {
  width: 100%;
  height: calc(100vh - 56px);
}

/* Remove Leaflet's default white square background */
.leaflet-div-icon {
  background: transparent !important;
  border: none !important;
}

.price-marker .price-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  text-shadow: 1px 1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000;
}

.how-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.how-step {
  display: flex;
  align-items: center;
  gap: 20px;
}

.how-step__num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}

.how-step__body h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
}

.how-step__body p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.55;
}

.step h3 {
  margin: 12px 0 6px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
}

.step p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

main { min-height: 100vh; padding-top: 56px; }

/* Generic helpers */
.text-center { text-align: center; }
.text-muted { color: var(--muted-foreground); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Page-specific layouts */
.page-prose {
  max-width: 820px;
  margin: 0 auto;
  padding: 96px 16px 64px;
}

.page-prose h1 {
  font-size: 2.25rem;
  margin: 0 0 24px;
}

.page-prose h2 {
  font-size: 1.5rem;
  margin: 32px 0 12px;
  color: var(--foreground);
}

.page-prose h3 {
  font-size: 1.15rem;
  margin: 20px 0 8px;
  color: var(--foreground);
}

.page-prose p, .page-prose li {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.page-prose ul {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* FAQ accordion */
.faq-item {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--muted-foreground);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
  color: var(--primary);
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted-foreground);
  white-space: pre-wrap;
  line-height: 1.6;
}

/* Press card grid */
.press-grid {
  display: grid;
  gap: 50px;
  margin-bottom: 40px;
}

@media (min-width: 700px) { .press-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .press-grid { grid-template-columns: repeat(3, 1fr); } }

.press-card {
  display: flex;
  flex-direction: column;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.press-card:hover {
  border-color: rgba(255, 100, 50, 0.5);
  transform: translateY(-2px);
}

.press-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.press-card__favicon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.press-card__favicon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.press-card__outlet {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  font-weight: 600;
}

.press-card__title {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  flex: 1;
  margin: 0;
}

.press-card__cta {
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
}

/* Stats grid */
.stats-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }

.stat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(20, 20, 20, 0.6);
  padding: 24px;
}

.stat-card.is-primary {
  border-color: rgba(255, 100, 50, 0.3);
  background: linear-gradient(135deg, rgba(255, 100, 50, 0.2), rgba(20, 20, 20, 0.6));
}

.stat-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 100, 50, 0.1);
  color: var(--primary);
}

.stat-card.is-primary .stat-card__icon {
  background: var(--primary);
  color: var(--primary-foreground);
}

.stat-card__number {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 16px 0 4px;
  line-height: 1;
}

@media (min-width: 768px) {
  .stat-card__number { font-size: 3rem; }
}

.stat-card__label {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--primary), rgba(255, 100, 50, 0.1));
}

.timeline__item {
  position: relative;
  padding-left: 56px;
  margin-bottom: 24px;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--background);
}

.timeline__item.is-future::before { background: rgba(255, 100, 50, 0.3); }

.timeline__item.is-now::before {
  width: 18px;
  height: 18px;
  left: 10px;
  top: 10px;
  box-shadow: 0 0 16px rgba(254, 106, 60, 0.8);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.timeline__card {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.timeline__item.is-now .timeline__card {
  border-color: rgba(255, 100, 50, 0.6);
  background: linear-gradient(135deg, rgba(255, 100, 50, 0.15), rgba(20, 20, 20, 0.6));
}

.timeline__item.is-future .timeline__card {
  border-style: dashed;
  background: rgba(20, 20, 20, 0.3);
}

.timeline__date {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.timeline__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 8px 0 4px;
}

.timeline__desc {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin: 0;
}

/* Cards grid for "team" */
.team-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 600px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

.team-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  transition: 0.2s;
}

.team-card:hover { border-color: rgba(255, 100, 50, 0.4); }

.team-card__avatar {
  position: relative;
  overflow: hidden;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 100, 50, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.team-card__avatar-emoji {
  position: relative;
  z-index: 1;
}

.team-card__avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  border-radius: 50%;
}

.team-card__name { font-weight: 600; }
.team-card__role { font-size: 0.85rem; color: var(--muted-foreground); }
.team-card__email {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--primary);
  text-decoration: none;
  word-break: break-all;
}
.team-card__email:hover { text-decoration: underline; }

/* For-krögare */
.value-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 700px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .value-grid { grid-template-columns: repeat(3, 1fr); } }

.value-card {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  transition: 0.2s;
}
.value-card:hover { border-color: rgba(255, 100, 50, 0.4); }

.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 100, 50, 0.1);
  color: var(--primary);
  margin-bottom: 14px;
}

.value-card__icon svg { width: 22px; height: 22px; }

.value-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.value-card p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* CTA banner - kommenterat bort, kan aktiveras igen vid behov
.cta-banner {
  background: linear-gradient(135deg, rgba(255, 100, 50, 0.15), rgba(20, 20, 20, 0.6));
  border: 1px solid rgba(255, 100, 50, 0.3);
  border-radius: 18px;
  padding: 40px 24px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: 1.75rem;
  margin: 0 0 12px;
}

@media (min-width: 700px) {
  .cta-banner { padding: 56px 32px; }
  .cta-banner h2 { font-size: 2rem; }
}

.cta-banner p {
  color: var(--muted-foreground);
  margin: 0 auto 28px;
  max-width: 480px;
}

.cta-banner .btn {
  font-size: 0.95rem;
  padding: 14px 28px;
}
*/

/* Articles page — hero */
.articles-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 16px 48px;
  text-align: center;
}

.articles-hero__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.articles-hero__title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

@media (min-width: 700px) {
  .articles-hero__title { font-size: 2.75rem; }
}

.articles-hero__subtitle {
  font-size: 1.05rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
  max-width: 560px;
}

/* Articles page — category chips */
.articles-categories {
  padding: 0 16px 32px;
}

.articles-categories__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.articles-categories__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 4px;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--foreground);
  cursor: pointer;
  transition: 0.2s;
}

.category-chip:hover,
.category-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

/* Articles page — featured card */
.articles-featured {
  padding: 0 16px 40px;
}

.articles-featured__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.featured-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: 0.2s;
}

.featured-card:hover {
  border-color: rgba(255, 100, 50, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 100, 50, 0.1);
}

.featured-card__row {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}

@media (min-width: 800px) {
  .featured-card__row { flex-direction: row; gap: 0; }
}

.featured-card__media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 100, 50, 0.18), rgba(20, 20, 20, 0.4));
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 800px) {
  .featured-card__media {
    width: 42%;
    min-height: 320px;
    border-right: 1px solid var(--border);
  }
}

.featured-card__media-emoji {
  position: relative;
  z-index: 1;
  font-size: 5rem;
  line-height: 1;
  opacity: 0.55;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
}

.featured-card__media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.featured-card__body {
  padding: 24px 28px;
  flex: 1;
  min-width: 0;
}

@media (min-width: 800px) {
  .featured-card__body { padding: 32px 36px; }
}

.featured-card__body {
  flex: 1;
  min-width: 0;
}

.featured-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--primary);
  color: var(--primary-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.featured-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 10px;
}

@media (min-width: 700px) {
  .featured-card__title { font-size: 1.7rem; }
}

.featured-card__excerpt {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0 0 16px;
}

.featured-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
}

.featured-card__meta-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.featured-card__meta-time {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted-foreground);
}

.featured-card__cta {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-weight: 600;
}

/* Articles page — rest grid */
.articles-rest {
  padding: 0 16px 80px;
}

.articles-rest__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.articles-rest__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 20px;
}

/* Article list */
.articles-grid {
  display: grid;
  gap: 50px;
  margin-bottom: 40px;
}
@media (min-width: 700px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .articles-grid { grid-template-columns: repeat(3, 1fr); } }

.article-card {
  display: flex;
  flex-direction: column;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: 0.2s;
  height: 100%;
}

.article-card:hover {
  border-color: rgba(255, 100, 50, 0.5);
  transform: translateY(-2px);
}

/* Thumbnail above card body — emoji shows as fallback */
.article-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(255, 100, 50, 0.18), rgba(20, 20, 20, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-thumb__emoji {
  position: relative;
  z-index: 1;
  font-size: 3.25rem;
  line-height: 1;
  opacity: 0.55;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.4));
}
.article-thumb__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.article-card:hover .article-thumb__img { transform: scale(1.04); }

.article-card__body {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 22px;
  flex: 1;
  min-width: 0;
}

/* Legacy emoji block kept for backward compat but hidden when inside a card with body */
.article-card__emoji {
  font-size: 2rem;
  margin-bottom: 10px;
}
.article-card__body + .article-card__emoji,
.article-card .article-card__body .article-card__emoji { display: none; }

.article-card__category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.article-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.3;
}

.article-card__excerpt {
  flex: 1;
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin: 0 0 14px;
}

.article-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

.article-card__cta {
  color: var(--primary);
  font-weight: 600;
}

/* Author chip (on article cards) */
.author-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 6px 12px 6px 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--muted-foreground);
  align-self: flex-start;
}
.author-chip__img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-chip__name { font-weight: 500; color: var(--foreground); }

.featured-card .author-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Article byline (on detail page) */
.article-byline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 8px;
}
.article-byline__img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.article-byline__by {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
}
.article-byline__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--foreground);
  line-height: 1.2;
}

/* Article detail hero image */
.article-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(255, 100, 50, 0.2), rgba(20, 20, 20, 0.5));
  aspect-ratio: 16 / 8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-hero__emoji {
  position: relative;
  z-index: 1;
  font-size: 7rem;
  line-height: 1;
  opacity: 0.45;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.5));
}
.article-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.article-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 15, 15, 0.5));
  pointer-events: none;
}
.article-hero.is-emoji-only .article-hero__overlay { display: none; }

/* Events */
.event-card {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.event-card__image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
}

.event-card__body { padding: 20px; }

.event-card__title { font-weight: 600; font-size: 1.05rem; margin: 0 0 6px; }
.event-card__meta {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 2px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  color: var(--foreground);
  text-transform: capitalize;
}

.badge-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.badge-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
}

/* Olkartan stub */
.olkartan-hero {
  text-align: center;
  padding: 80px 16px 32px;
  max-width: 720px;
  margin: 0 auto;
}

.venue-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.venue-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  transition: 0.2s;
  text-decoration: none;
  color: inherit;
}

.venue-row:hover {
  border-color: rgba(255, 100, 50, 0.4);
}

.venue-row__name { font-weight: 600; }
.venue-row__addr { font-size: 0.8rem; color: var(--muted-foreground); margin-top: 2px; }

.venue-row__price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
  white-space: nowrap;
}

/* 404 */
.error-page {
  min-height: calc(100vh - 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 16px;
  gap: 16px;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: 6rem;
  margin: 0;
  color: var(--primary);
  text-shadow: 0 0 40px var(--primary-glow);
}

.error-page h2 { font-size: 1.5rem; margin: 0; }
.error-page p { color: var(--muted-foreground); max-width: 420px; margin: 0; }
