:root {
  --teal: #17a58c;
  --teal-dark: #0f7f6c;
  --slate: #3c5d66;
  --ink: #1f2d32;
  --muted: #5f7279;
  --line: #e3e9ea;
  --bg: #ffffff;
  --bg-soft: #f5f7f7;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 72px; width: 72px; }
.nav { display: flex; gap: 32px; }
.nav a {
  color: var(--slate); text-decoration: none; font-weight: 500; font-size: 16px;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--teal); }

/* Hero */
.hero { padding: 110px 0 90px; text-align: center; background: linear-gradient(180deg, var(--bg-soft), #fff); }
.hero h1 {
  font-size: clamp(44px, 7vw, 84px); line-height: 1.04; margin: 0 0 28px;
  color: var(--slate); font-weight: 300; letter-spacing: -0.02em;
}
.hero h1 span { display: block; color: var(--teal); font-weight: 600; }
.hero p { max-width: 700px; margin: 0 auto; color: var(--muted); font-size: 19px; }

/* Sections */
section { padding: 80px 0; }
.section-title {
  text-align: center; font-size: 14px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal-dark); font-weight: 600; margin: 0 0 56px;
}
.brand-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 48px 0; border-top: 1px solid var(--line);
}
.brand-row:first-of-type { border-top: 0; }
.brand-row:nth-child(even) .brand-img { order: 2; }
.brand-img { background: #fff; border-radius: 6px; overflow: hidden; }
.brand-text h2 { font-size: 34px; margin: 0 0 14px; color: var(--slate); font-weight: 600; letter-spacing: -0.01em; }
.brand-text p { color: var(--muted); margin: 0 0 14px; }
.brand-text .tag { color: var(--ink); font-style: italic; }

.tagline {
  text-align: center; background: var(--slate); color: #fff; padding: 72px 24px;
}
.tagline p { margin: 0; font-size: clamp(24px, 3.4vw, 34px); font-weight: 300; }
.tagline strong { font-weight: 600; color: #8fe3d3; }

/* Page header (sub pages) */
.page-head { padding: 80px 0 30px; text-align: center; }
.page-head h1 { font-size: clamp(34px, 5vw, 52px); color: var(--slate); margin: 0 0 14px; font-weight: 600; letter-spacing: -0.01em; }
.page-head p { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* Price lists */
.pdf-list { max-width: 720px; margin: 0 auto; display: grid; gap: 16px; padding-bottom: 120px; }
.pdf-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px; border: 1px solid var(--line); border-radius: 8px;
  text-decoration: none; color: var(--ink); font-weight: 500; transition: border-color .15s, box-shadow .15s;
}
.pdf-list a:hover { border-color: var(--teal); box-shadow: 0 4px 18px rgba(23,165,140,.12); }
.pdf-list .meta { color: var(--teal-dark); font-size: 14px; font-weight: 600; white-space: nowrap; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; padding-bottom: 40px; }
.contact-intro h2 { font-size: 28px; color: var(--slate); margin: 32px 0 4px; }
.contact-intro h2 + p { margin-top: 0; }
.contact-intro p { color: var(--muted); }
form { display: grid; gap: 18px; }
label { display: grid; gap: 6px; font-weight: 500; font-size: 15px; }
input[type=text], input[type=email], textarea {
  font: inherit; padding: 12px 14px; border: 1px solid #cfd9db; border-radius: 6px; background: #fff; color: var(--ink);
}
input:focus, textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
textarea { min-height: 160px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.check input { margin-top: 5px; }
.hp { position: absolute; left: -9999px; }
button {
  font: inherit; font-weight: 600; background: var(--teal); color: #fff; border: 0; border-radius: 6px;
  padding: 14px 28px; cursor: pointer; justify-self: start;
}
button:hover { background: var(--teal-dark); }

/* Prose (privacy) */
.prose { max-width: 760px; margin: 0 auto; padding-bottom: 40px; }
.prose h2 { font-size: 22px; color: var(--slate); margin: 40px 0 10px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 800px) {
  body { font-size: 16px; }
  .site-header .wrap { height: 64px; }
  .brand img { height: 58px; width: 58px; }
  .nav { gap: 20px; }
  .hero { padding: 70px 0 60px; }
  section { padding: 56px 0; }
  .brand-row, .contact { grid-template-columns: 1fr; gap: 28px; }
  .brand-row:nth-child(even) .brand-img { order: 0; }
}

.nowrap { white-space: nowrap; }
@media (max-width: 800px) { .br-desk { display: none; } }

@media (max-width: 800px) { .pdf-list { padding-bottom: 72px; } }
@media (max-width: 800px) { .tagline strong { display: block; } }
@media (max-width: 400px) { .page-head h1 { font-size: 29px; } }

/* Litt luft mellom «Mindre støy.» og «Mer musikk.» */
.hero h1 span { margin-top: 0.05em; }
@media (max-width: 800px) { .hero h1 span { margin-top: calc(0.14em + 1px); } }
@media (max-width: 800px) { .page-head h1 { line-height: 1.5; } }
@media (max-width: 800px) { .page-head { padding-bottom: 20px; } .contact-intro > p:first-child { margin-top: 0; } }
@media (max-width: 800px) { .page-head { padding-top: 64px; } }
