/* Viken Consult — locked brand. Copper #D88120 only in the monogram (image). */
@font-face {
  font-family: Archivo;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/archivo-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Archivo;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/archivo-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --natt: #0B1A30;
  --is: #F3F6F9;
  --stal: #646E7A;
  --paper: #ffffff;
  --line: #d5dce4;
  --ink: #0B1A30;
  --max: 1120px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Archivo, system-ui, sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: var(--is);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, strong { font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; letter-spacing: -0.02em; margin: 0; }
h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--natt);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin-inline: auto; }
.site-main { flex: 1; }

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 72px;
}
.logo { display: flex; align-items: center; }
.logo img { display: block; height: 44px; width: auto; }
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--natt);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--natt);
  color: #fff !important;
  text-decoration: none;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius);
}
.nav-cta:hover { text-decoration: none; opacity: 0.92; }
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 10px 9px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--natt);
  margin: 5px 0;
}
.mobile-panel { display: none; }
.mobile-panel.open {
  display: block;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 0.5rem 0 1rem;
}
.mobile-panel ul { list-style: none; margin: 0; padding: 0; }
.mobile-panel a {
  display: block;
  padding: 0.7rem 0;
  text-decoration: none;
  font-weight: 500;
}

.eyebrow {
  display: block;
  color: var(--stal);
  font-size: 0.92rem;
  font-weight: 500;
  margin: 0 0 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
}
.btn-primary { background: var(--natt); color: #fff; }
.btn-ghost { background: transparent; color: var(--natt); border-color: var(--line); }
.btn:hover { opacity: 0.92; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Hero */
.hero { padding: 4.2rem 0 3.4rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: end;
}
.hero-sub { font-size: 1.15rem; max-width: 36rem; margin-top: 1.1rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.stat { min-width: 7rem; }
.stat .num { display: block; font-weight: 700; font-size: 1.15rem; }
.stat .lbl { color: var(--stal); font-size: 0.88rem; }
.hero-visual { position: relative; }
.hero-visual > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.hero-aside {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  background: rgba(11, 26, 48, 0.9);
  color: #fff;
  padding: 1.15rem 1.15rem 1.2rem;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-aside .eyebrow { color: #c5ccd6; }
.hero-aside p { color: #e8edf3; }

/* Sections */
section { padding: 4rem 0; }
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-end; margin-bottom: 2rem; flex-wrap: wrap; }
.lede { color: var(--stal); max-width: 40rem; margin-top: 0.75rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.media-frame img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.card, .strength {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.2rem 1.15rem 1.3rem;
  height: 100%;
  text-decoration: none;
  display: block;
}
a.card:hover { border-color: var(--natt); }
.num { color: var(--stal); font-size: 0.8rem; display: block; margin-bottom: 0.55rem; }
.card p, .strength p { color: #2b3544; font-size: 0.95rem; }

.proj {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  overflow: hidden;
}
.proj img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.proj-body {
  padding: 1.05rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.proj .year { color: var(--stal); font-size: 0.85rem; }
.proj h3 { font-size: 1.15rem; }

.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem 2.4rem;
  margin-top: 1.4rem;
}
.partners a {
  display: inline-flex;
  align-items: center;
}
.partners img {
  display: block;
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.cta-band { background: var(--natt); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-inner { display: flex; justify-content: space-between; gap: 2rem; align-items: center; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--natt); }

.page-hero { padding: 3.2rem 0 1.4rem; }
.page-hero p { max-width: 42rem; margin-top: 0.9rem; }

.disc { scroll-margin-top: 90px; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.disc:last-child { border-bottom: 0; }
.phase { border-left: 2px solid var(--natt); padding: 0 0 0.2rem 1rem; }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.person { background: var(--paper); border: 1px solid var(--line); padding: 1.2rem; }
.person img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  margin: 0 0 0.9rem;
}
.person .role { color: var(--stal); font-size: 0.92rem; }

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; }
label { display: block; font-weight: 700; font-size: 0.88rem; margin: 0.85rem 0 0.3rem; }
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  color: var(--natt);
}
textarea { min-height: 8rem; resize: vertical; }
button[type="submit"] {
  font: inherit;
  font-weight: 700;
  background: var(--natt);
  color: #fff;
  border: 0;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius);
  cursor: pointer;
  margin-top: 1rem;
}
.form-note { color: var(--stal); font-size: 0.9rem; margin-top: 0.85rem; }
.dl { list-style: none; margin: 0; padding: 0; }
.dl li { margin: 0 0 1rem; }
.dl span { display: block; color: var(--stal); font-size: 0.85rem; }

.prose { max-width: 42rem; }
.prose h2 { margin: 2rem 0 0.7rem; }
.prose p { margin-bottom: 1rem; }

/* Footer */
.site-footer {
  background: var(--natt);
  color: #d7dee8;
  padding: 3rem 0 1.4rem;
  margin-top: auto;
}
.site-footer a { color: #edf1f6; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2rem;
}
.site-footer .logo img { height: 40px; }
.foot-blurb { color: #b8c2cf; margin-top: 0.9rem; max-width: 18rem; }
.site-footer h2 { color: #fff; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.7rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  color: #9aa6b4;
}

@media (max-width: 900px) {
  .hero-grid, .grid-4, .grid-3, .grid-2, .team, .contact-grid, .foot-grid {
    grid-template-columns: 1fr;
  }
  .grid-4, .grid-3 { grid-template-columns: 1fr 1fr; }
  .desk-nav { display: none; }
  .burger { display: inline-block; }
}
@media (max-width: 560px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .hero { padding-top: 2.4rem; }
}
