:root {
  --paper: #eef2f0;
  --paper-deep: #dfe7e3;
  --ink: #132a2b;
  --pine: #1e5a56;
  --muted: #4c6462;
  --line: #bfcdc8;
  --signal: #e2b33c;
  --on-dark: #e6eeeb;
  --on-dark-muted: #a9c0bb;
  --measure: 34rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

a { color: var(--pine); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
a:focus-visible, .skip:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }

.skip {
  position: absolute; left: -999rem; top: 0.5rem;
  background: var(--ink); color: var(--paper); padding: 0.5rem 1rem;
}
.skip:focus { left: 0.5rem; }

/* Header */
.site-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-top: 1.5rem; padding-bottom: 1.5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.7rem;
  color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em;
}
.brand img { display: block; height: 3.1rem; width: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-nav a {
  color: var(--ink); text-decoration: none; font-size: 0.98rem; font-weight: 500;
  padding: 0.25rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--signal); }

/* Hero */
.hero { padding-top: 4.5rem; }
.hero h1 {
  margin: 0; max-width: 15ch;
  font-size: clamp(2.6rem, 7.2vw, 5.6rem);
  line-height: 0.98; letter-spacing: -0.035em; font-weight: 800;
}
.hero p {
  margin: 2rem 0 0; max-width: var(--measure);
  font-size: 1.3rem; line-height: 1.5; color: var(--muted);
}
.field { display: block; width: 100%; height: auto; margin-top: 3.5rem; }
.field circle { fill: var(--pine); transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.field circle.lit { fill: var(--signal); }
.hero .field-note {
  display: flex; justify-content: space-between; max-width: none;
  margin: 0.6rem 0 0; font-size: 0.95rem; color: var(--muted);
}

/* Sections */
.band { padding: 6rem 0; }
.band + .band { border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2rem 4rem; }
.band h2 {
  margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.08; letter-spacing: -0.025em; font-weight: 700;
}
.lead { margin: 1rem 0 0; color: var(--muted); max-width: 24rem; }

.items { margin: 0; padding: 0; list-style: none; }
.items li { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.items li:first-child { padding-top: 0; border-top: 0; }
.items li:last-child { padding-bottom: 0; }
.items h3 { margin: 0 0 0.35rem; font-size: 1.3rem; letter-spacing: -0.01em; font-weight: 700; }
.items p { margin: 0; max-width: var(--measure); color: var(--muted); }

.photo { display: block; width: 100%; height: auto; margin-top: 2rem; border-radius: 4px; aspect-ratio: 3 / 2; object-fit: cover; }
.photo.wide { margin: 0 0 6rem; aspect-ratio: 2 / 1; object-position: center 20%; }
#build { padding-bottom: 4rem; }
#work { border-top: 0; padding-top: 0; }

/* Security (dark band) */
.band.dark { background: var(--ink); color: var(--on-dark); border-top: 0; }
.band.dark + .band { border-top: 0; }
.band.dark .lead, .band.dark .items p { color: var(--on-dark-muted); }
.band.dark .items li { border-top-color: #2c4a49; }
.band.dark a { color: var(--signal); }

/* Contact */
.facts { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 3rem; }
.facts dt { font-size: 0.95rem; color: var(--muted); }
.facts dd { margin: 0.2rem 0 0; font-size: 1.2rem; font-weight: 600; line-height: 1.4; }
.facts a { color: var(--ink); }

/* Footer */
.site-foot {
  border-top: 1px solid var(--line); padding: 2rem 0 3rem;
  font-size: 0.95rem; color: var(--muted);
}
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; }
.site-foot nav { display: flex; gap: 1.5rem; }
.site-foot a { color: var(--muted); }

/* Plain document pages (privacy, terms) */
.doc { padding: 3.5rem 0 6rem; max-width: 40rem; }
.doc h1 { margin: 0 0 0.5rem; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 800; }
.doc .dated { margin: 0 0 2.5rem; color: var(--muted); }
.doc h2 { margin: 2.5rem 0 0.5rem; font-size: 1.4rem; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--muted); }
.doc ul { padding-left: 1.2rem; }

@media (max-width: 48rem) {
  body { font-size: 1.0625rem; }
  .wrap { padding: 0 1rem; }
  .site-head { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
  .hero { padding-top: 2.5rem; }
  .hero p { font-size: 1.15rem; }
  .field { margin-top: 2.5rem; }
  .band { padding: 3.75rem 0; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .photo.wide { margin-bottom: 3.75rem; aspect-ratio: 3 / 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .field circle { transition: none; }
}
