/* Stilsett for de to gjenværende offentlige sidene (/kontakt, /bli-medlem).
   Helt separat fra style.css (admin + resten av gjestesidene). Hjem/Om/Overnatting og resten av
   markedsføringssidene disse to delte utseende med er fjernet (2026-08-30, se README.md
   "Offentlig markedsføringsside") - denne fila er ryddet for reglene som kun de brukte
   (2026-09-23).
   Palett: moderne og fargerik (sol-amber/korall/innsjø-teal), men EB Garamond-serif for titler,
   Jost for brødtekst/navigasjon. */

:root {
  color-scheme: light;
  --sun: #f2a53c;
  --sun-deep: #d6841a;
  --coral: #e2574c;
  --coral-deep: #c23f36;
  --teal: #1c7f77;
  --teal-deep: #145f59;
  --ink: #23303a;
  --muted: #8a8f8b;
  --paper: #ffffff;
  --line: #ece3d1;
  --r-md: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2 { font-family: 'EB Garamond', serif; font-weight: 400; color: var(--ink); margin: 0; text-wrap: balance; }

.tracked {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- Header ---------- */
.site-header {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  padding: 1.6rem 1.5rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .wordmark { font-family: 'EB Garamond', serif; font-size: 1.55rem; color: var(--teal-deep); }
.site-nav { display: flex; gap: 2.1rem; flex-wrap: wrap; }
.site-nav a {
  font-family: 'Jost', sans-serif; font-size: 13px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--coral-deep); border-bottom-color: var(--coral); }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 3px;
  font-family: 'Jost', sans-serif; font-weight: 500; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid var(--sun);
  transition: background .18s, color .18s, border-color .18s;
}
.btn-primary { background: var(--sun); color: #fff; border-color: var(--sun); }
.btn-primary:hover { background: var(--sun-deep); border-color: var(--sun-deep); }

/* ---------- Sections ---------- */
.container { max-width: 900px; margin: 0 auto; padding: 3.4rem 1.5rem; }
.container-narrow { max-width: 720px; }

.section-head { text-align: center; margin-bottom: 2.6rem; }
.section-head .tracked { color: var(--teal); font-size: 11.5px; }
.section-head h2 { font-size: 2.1rem; margin-top: 0.4rem; }

/* Om-siden (Bli medlem): løpende brødtekst */
.prose { max-width: 62ch; margin: 0 auto; }
.prose p { margin: 0 0 1.2rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.4rem; margin-bottom: 1rem; }

/* Kontakt-siden: skjema */
.contact-form { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-field { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-field label {
  font-family: 'Jost', sans-serif; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}
.contact-field input, .contact-field textarea {
  border: none; border-bottom: 1px solid var(--line);
  padding: 0.5rem 0.1rem; font-family: 'Jost', sans-serif; font-size: 1rem; color: var(--ink);
  background: transparent; font-weight: 300;
}
.contact-field input:focus, .contact-field textarea:focus {
  outline: none; border-bottom-color: var(--teal);
}
.contact-field textarea { resize: vertical; min-height: 90px; }
.contact-submit { text-align: center; margin-top: 0.6rem; }
.contact-submit .btn { border: none; background: var(--teal); }
.contact-submit .btn:hover { background: var(--teal-deep); }
.honeypot-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.banner {
  max-width: 560px; margin: 0 auto 1.6rem; padding: 0.9rem 1.2rem; border-radius: var(--r-md);
  font-size: 0.94rem; text-align: center;
}
.banner-ok { background: color-mix(in srgb, var(--teal) 12%, white); color: var(--teal-deep); border: 1px solid color-mix(in srgb, var(--teal) 30%, white); }
.banner-error { background: color-mix(in srgb, var(--coral) 12%, white); color: var(--coral-deep); border: 1px solid color-mix(in srgb, var(--coral) 30%, white); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.6rem 1.5rem 2rem; margin-top: 1rem; }
.footer-inner { max-width: 1180px; margin: 0 auto; text-align: center; }
.footer-inner .wordmark { font-family: 'EB Garamond', serif; color: var(--teal-deep); font-size: 1.2rem; }
.footer-inner address { font-style: normal; color: var(--muted); margin-top: 0.5rem; font-size: 0.92rem; line-height: 1.6; }
