/* Avskaff dyrelandbruk — shared styles */
:root {
  --bg: #000000;
  --fg: #ffffff;
  --muted: #a3a3a3;
  --faint: #6b6b6b;
  --line: #1f1f1f;
  --accent: #E10600;
  --accent-hover: #ff1a0a;
  --max: 880px;
  --nav-h: 3.5rem;
  --font-display: "Oswald", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle grain — optional texture, not decorative fluff */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--fg);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
  color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

/* —— Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
  line-height: 1.1;
  white-space: nowrap;
}

.brand span {
  color: var(--accent);
}

.brand:hover {
  color: var(--fg);
  opacity: 0.85;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fg);
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 0.35rem 0;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--fg);
}

.nav-list a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--accent);
}

@media (max-width: 640px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--nav-h);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0a0a0a;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }
}

/* —— Layout —— */
.site-main {
  position: relative;
  z-index: 1;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.page {
  padding: 2.5rem 0 4rem;
}

.page-narrow {
  max-width: 720px;
}

/* —— Hero —— */
.hero {
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 0 4rem;
}

.hero-lockup {
  text-align: center;
  margin: 0 auto;
  width: min(100%, 26rem);
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.01em;
}

.hero-title .line-avskaff,
.hero-title .line-dyrelandbruk {
  display: block;
  width: 100%;
  text-align: center;
}

.hero-title .line-avskaff {
  color: #fff;
  font-size: clamp(3.4rem, 15vw, 5.9rem);
  letter-spacing: 0.045em;
}

.hero-title .line-dyrelandbruk {
  color: var(--accent);
  /* Longer word — slightly smaller + tighter tracking for equal visual width */
  font-size: clamp(2.05rem, 9vw, 3.55rem);
  letter-spacing: 0.01em;
  margin-top: 0.04em;
}

.hero-rule {
  display: block;
  width: 100%;
  height: 2px;
  margin: 1.2rem auto 1.15rem;
  background: var(--accent);
  border: none;
}

.hero-slogan {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 3.8vw, 1.55rem);
  letter-spacing: 0.01em;
  color: #fff;
}

.hero-lead {
  margin: 1.75rem auto 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: center;
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: #333;
}

.btn-ghost:hover {
  border-color: var(--fg);
  color: var(--fg);
}

.hero-note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--faint);
  text-align: center;
  max-width: 26rem;
  line-height: 1.45;
}

.hero-secondary {
  margin: 3.5rem auto 0;
  max-width: 32rem;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.hero-secondary p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
}

/* —— Content pages —— */
.page-header {
  margin-bottom: 2.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 2.75rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.page-header .lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.prose > * + * {
  margin-top: 1.15rem;
}

.prose p {
  margin: 0;
  color: #e8e8e8;
}

.prose strong {
  color: #fff;
  font-weight: 600;
}

.prose h2 {
  margin: 2.5rem 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul,
.prose ol {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: #e8e8e8;
}

.prose li + li {
  margin-top: 0.4rem;
}

.prose a {
  color: #fff;
  text-decoration: underline;
}

.prose a:hover {
  color: var(--accent);
}

.callout {
  margin: 2rem 0 0;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--accent);
  background: #0c0c0c;
}

.callout p {
  margin: 0;
  color: #ddd;
}

.callout p + p {
  margin-top: 0.65rem;
}

.callout .label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

/* —— Cards / lists —— */
.sanctuary-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.sanctuary-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.sanctuary-list .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  min-width: 1.75rem;
}

.sanctuary-list .name {
  font-weight: 560;
  color: #fff;
  font-size: 1.05rem;
}

.policy-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: #e0e0e0;
}

.policy-list li + li {
  margin-top: 0.55rem;
}

.month-card {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid #2a2a2a;
  background: linear-gradient(180deg, #0f0f0f 0%, #080808 100%);
}

.month-card .label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.month-card .value {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.month-card .hint {
  margin: 0.55rem 0 0;
  font-size: 0.875rem;
  color: var(--faint);
}

/* —— Butikk placeholder —— */
.coming-soon {
  text-align: center;
  padding: 2rem 0 1rem;
}

.coming-soon .badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(225, 6, 0, 0.45);
  padding: 0.4rem 0.85rem;
  margin-bottom: 1.25rem;
}

.coming-soon h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 7vw, 3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
}

.coming-soon .sub {
  margin: 0 auto;
  max-width: 28rem;
  color: var(--muted);
}

/* —— Merch preview (pre-Shopify) —— */
.merch-preview {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.merch-preview h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.merch-intro {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.975rem;
}

.merch-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .merch-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }
}

.merch-card {
  margin: 0;
  padding: 1.25rem 1.2rem;
  border: 1px solid #262626;
  background: #0a0a0a;
}

.merch-kind {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.merch-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.merch-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.925rem;
}

.merch-note {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: var(--faint);
}

.donate-box {
  margin-top: 3rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid #262626;
  background: #0a0a0a;
}

.donate-box h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.donate-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.975rem;
}

.donate-box .vipps-slot {
  margin-top: 1.25rem;
  padding: 1.1rem 1.15rem;
  border: 1px dashed #3a3a3a;
  background: #050505;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: center;
}

.donate-box .vipps-note {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--faint);
}

.nasa-inline {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.925rem;
  color: var(--muted);
}

.nasa-inline a {
  color: #fff;
}

/* —— Footer —— */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 2.75rem 0 2.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.footer-brand span {
  color: var(--accent);
}

.footer-meta {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

.footer-meta a {
  color: var(--muted);
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--fg);
}

.footer-meta .sep {
  color: #333;
  margin: 0 0.35rem;
}

.footer-nasa {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--faint);
  max-width: 28rem;
  line-height: 1.5;
}

.footer-col h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 0.4rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--fg);
}

.footer-legal {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.75rem;
  color: var(--faint);
}

.footer-legal a {
  color: var(--faint);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--muted);
}

/* —— Utilities —— */
.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;
}
