:root {
  --ink: #062f40;
  --ink-deep: #032330;
  --steel: #66747c;
  --gold: #f2be32;
  --gold-soft: #fff2c8;
  --mist: #eef3f4;
  --line: #d7e1e5;
  --paper: #fbfcfb;
  --white: #ffffff;
  --text: #17232b;
  --muted: #52626a;
  --shadow: 0 24px 70px rgba(6, 47, 64, 0.12);
  --radius: 18px;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section, #prosjektbrief { scroll-margin-top: 100px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, textarea, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.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;
}
.skip-link {
  position: fixed; left: 20px; top: -100px; z-index: 1000;
  background: var(--gold); padding: 12px 18px; border-radius: 8px;
  font-weight: 750; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(251,252,251,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(6,47,64,.08);
}
.header-inner { height: 82px; display: flex; align-items: center; gap: 34px; }
.brand { margin-right: auto; }
.brand img { width: 192px; height: auto; }
.header-inner nav { display: flex; gap: 28px; align-items: center; }
.header-inner nav a {
  font-size: 14px; font-weight: 700; text-decoration: none; letter-spacing: .01em;
  transition: color .2s ease;
}
.header-inner nav a:hover { color: #9b7410; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 9px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--ink); margin: 5px 0; }
.mobile-nav { padding: 10px 24px 24px; background: var(--paper); border-top: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 12px 0; text-decoration: none; font-weight: 750; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border: 1px solid var(--gold);
  border-radius: 999px; background: var(--gold); color: var(--ink-deep);
  font-weight: 800; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(242,190,50,.24); background: #f8c947; }
.button:focus-visible, a:focus-visible, button:focus-visible, textarea:focus-visible, input:focus-visible {
  outline: 3px solid rgba(242,190,50,.58); outline-offset: 3px;
}
.button-small { min-height: 42px; padding-inline: 19px; font-size: 14px; }
.button-wide { width: 100%; }
.button-secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
.button-secondary:hover { background: var(--mist); box-shadow: none; }
.button-light { background: var(--white); border-color: var(--white); }
.text-link { display: inline-flex; gap: 8px; font-weight: 800; text-underline-offset: 5px; }

.eyebrow {
  margin: 0 0 15px; color: #8a670f; font-size: 12px; font-weight: 850;
  letter-spacing: .13em; text-transform: uppercase;
}
.hero {
  min-height: 760px; padding-top: 82px; position: relative; display: grid;
  grid-template-columns: minmax(0, 54%) minmax(0, 46%); overflow: hidden;
  background: var(--ink);
}
.hero::before {
  content: ""; position: absolute; inset: 82px 46% 0 0;
  background-image: linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 48px 48px; pointer-events: none;
}
.hero-copy {
  grid-column: 1; width: auto; max-width: none; margin: 0; display: flex; align-items: center;
  padding-left: max(24px, calc((100vw - 1180px) / 2)); padding-right: 7vw;
}
.hero-text { position: relative; z-index: 2; max-width: 690px; color: var(--white); padding-block: 90px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 {
  margin: 0; max-width: 690px; font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5.3vw, 82px); line-height: .99; letter-spacing: -.045em; font-weight: 500;
}
.hero-lead { max-width: 620px; margin: 30px 0 0; color: #d7e1e5; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 38px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 0; padding: 0; margin: 56px 0 0; list-style: none; color: #c9d6db; }
.hero-tags li { display: flex; align-items: center; font-size: 13px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.hero-tags li:not(:last-child)::after { content: ""; width: 4px; height: 4px; margin: 0 15px; border-radius: 50%; background: var(--gold); }
.hero-image {
  grid-column: 2; position: absolute; inset: 82px 0 0 54%;
  background: linear-gradient(90deg, rgba(6,47,64,.28), transparent 24%), url("assets/stig-hero.webp") 74% center/cover no-repeat;
}
.hero-note {
  position: absolute; z-index: 3; right: clamp(24px, 4vw, 70px); bottom: 38px;
  max-width: 360px; display: flex; gap: 15px; align-items: center;
  padding: 18px 20px; border: 1px solid rgba(255,255,255,.34); border-radius: 14px;
  background: rgba(6,47,64,.86); backdrop-filter: blur(14px); color: var(--white);
  box-shadow: var(--shadow);
}
.hero-note p { margin: 0; font-size: 13px; line-height: 1.45; }
.note-mark { flex: 0 0 auto; width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 900; }

.section { padding: 120px 0; }
.section-heading { max-width: 760px; margin-bottom: 54px; }
.section-heading h2, .brief-intro h2, .approach-copy h2, .contact-card h2 {
  margin: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.5vw, 60px); font-weight: 500; line-height: 1.06; letter-spacing: -.03em;
}
.section-heading > p:last-child, .brief-intro > p:last-of-type {
  max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6;
}
.advisor-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 34px; align-items: start; }
.need-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.need-card {
  position: relative; min-height: 245px; display: flex; flex-direction: column; align-items: flex-start;
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  text-align: left; cursor: pointer; overflow: hidden;
  transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}
.need-card::after {
  content: ""; position: absolute; width: 115px; height: 115px; right: -50px; bottom: -60px;
  border: 24px solid var(--gold); border-radius: 50%; opacity: 0; transition: opacity .24s ease, transform .24s ease;
}
.need-card:hover { transform: translateY(-3px); border-color: #afc2ca; box-shadow: 0 14px 40px rgba(6,47,64,.08); }
.need-card.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); box-shadow: var(--shadow); }
.need-card.is-active::after { opacity: .16; transform: translate(-8px, -8px); }
.card-number { color: #8f9da3; font-size: 12px; font-weight: 850; letter-spacing: .13em; }
.need-card.is-active .card-number { color: var(--gold); }
.card-title { max-width: 250px; margin-top: auto; font-size: 22px; line-height: 1.12; font-weight: 850; letter-spacing: -.02em; }
.card-copy { max-width: 240px; margin-top: 11px; color: var(--muted); font-size: 14px; line-height: 1.48; }
.need-card.is-active .card-copy { color: #c9d6db; }
.card-arrow { position: absolute; right: 24px; top: 22px; color: var(--gold); font-size: 24px; }
.recommendation {
  position: sticky; top: 110px; min-height: 504px; padding: 38px;
  border: 1px solid #c9d6db; border-radius: var(--radius); background: #f3f6f6;
}
.recommendation-kicker { margin: 0 0 16px; color: var(--steel); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.recommendation h3 { margin: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 36px; line-height: 1.08; font-weight: 500; letter-spacing: -.025em; }
#recommendation-intro { margin: 20px 0 28px; color: var(--muted); line-height: 1.6; }
.deliverable-block { padding: 22px 0; border-block: 1px solid var(--line); }
.deliverable-block > p, .first-step span { margin: 0 0 12px; color: var(--steel); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.deliverable-block ul { margin: 0; padding: 0; list-style: none; }
.deliverable-block li { position: relative; padding: 5px 0 5px 22px; font-size: 15px; font-weight: 700; }
.deliverable-block li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 4px; border: solid var(--gold); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.first-step { display: grid; gap: 6px; margin: 22px 0 25px; }
.first-step span { margin: 0; }
.first-step strong { font-size: 14px; line-height: 1.45; }

.project-examples { margin-top: 80px; padding-top: 42px; border-top: 1px solid var(--line); }
.example-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.example-row article { padding-right: 20px; border-right: 1px solid var(--line); }
.example-row article:last-child { border-right: 0; }
.example-row span { color: var(--ink); font-size: 13px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.example-row p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.brief-builder {
  position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px;
  margin-top: 110px; padding: 58px; border-radius: 26px; background: var(--ink); color: var(--white); overflow: hidden;
}
.brief-builder::before { content: ""; position: absolute; width: 340px; height: 340px; left: -150px; bottom: -220px; border: 60px solid var(--gold); border-radius: 50%; opacity: .08; }
.brief-intro { position: relative; }
.brief-intro .eyebrow { color: var(--gold); }
.brief-intro h2 { color: var(--white); font-size: clamp(36px, 3.8vw, 52px); }
.brief-intro > p:last-of-type { color: #c9d6db; font-size: 15px; }
.brief-progress { display: grid; gap: 12px; margin-top: 45px; }
.brief-progress span { position: relative; padding-left: 25px; color: #9fb0b7; font-size: 13px; font-weight: 750; }
.brief-progress span::before { content: ""; position: absolute; left: 0; top: 3px; width: 10px; height: 10px; border: 1px solid #71858e; border-radius: 50%; }
.brief-progress span.is-complete { color: var(--white); }
.brief-progress span.is-complete::before { background: var(--gold); border-color: var(--gold); }
.brief-form { position: relative; display: grid; gap: 28px; }
.brief-form fieldset { margin: 0; padding: 0; border: 0; }
.brief-form legend, .textarea-label { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 800; }
.textarea-label span { color: #9fb0b7; font-weight: 500; }
.choice-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.choice-row label { cursor: pointer; }
.choice-row input { position: absolute; opacity: 0; pointer-events: none; }
.choice-row span {
  min-height: 72px; display: flex; align-items: center; justify-content: center; padding: 10px;
  border: 1px solid #4b6873; border-radius: 11px; background: rgba(255,255,255,.035);
  color: #d7e1e5; text-align: center; font-size: 13px; font-weight: 750; line-height: 1.3;
  transition: border-color .2s, background .2s, color .2s;
}
.choice-row input:checked + span { border-color: var(--gold); background: rgba(242,190,50,.13); color: var(--white); }
.choice-row input:focus-visible + span { outline: 3px solid rgba(242,190,50,.58); outline-offset: 2px; }
.brief-form textarea {
  width: 100%; resize: vertical; padding: 15px 17px; border: 1px solid #4b6873; border-radius: 11px;
  background: rgba(255,255,255,.05); color: var(--white); line-height: 1.5;
}
.brief-form textarea::placeholder { color: #9fb0b7; }
.brief-form .button { justify-self: start; }
.brief-result {
  position: absolute; z-index: 5; inset: 0; padding: 46px; background: #f3f6f6; color: var(--text); overflow: auto;
}
.result-top { display: flex; justify-content: space-between; gap: 20px; }
.result-top h3 { margin: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 38px; font-weight: 500; }
.icon-button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); font-size: 28px; cursor: pointer; }
.brief-result pre { margin: 28px 0; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); white-space: pre-wrap; font: 14px/1.65 Inter, ui-sans-serif, sans-serif; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.approach { padding-top: 125px; background: #eef3f4; }
.approach-top { display: grid; grid-template-columns: 1.05fr .65fr; gap: 110px; align-items: center; }
.approach-copy > p:not(.eyebrow) { max-width: 680px; margin: 26px 0 0; color: var(--muted); font-size: 17px; line-height: 1.67; }
.credentials { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 45px; }
.credentials div { padding-top: 18px; border-top: 3px solid var(--gold); }
.credentials strong { display: block; color: var(--ink); font-size: 20px; }
.credentials span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.portrait { position: relative; margin: 0; }
.portrait::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid #afc2ca; border-radius: var(--radius); }
.portrait img { position: relative; width: 100%; aspect-ratio: 2 / 2.5; object-fit: cover; object-position: center 26%; border-radius: var(--radius); }
.portrait figcaption { position: relative; width: calc(100% - 34px); margin: -45px 17px 0; padding: 18px 20px; border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.portrait figcaption strong, .portrait figcaption span { display: block; }
.portrait figcaption strong { color: var(--ink); }
.portrait figcaption span { margin-top: 5px; color: var(--steel); font-size: 13px; }

.process { margin-top: 120px; padding: 54px; border-radius: 24px; background: var(--white); }
.process-heading { display: grid; grid-template-columns: .45fr 1.55fr; gap: 40px; align-items: end; }
.process-heading .eyebrow { margin-bottom: 6px; }
.process-heading h3 { max-width: 700px; margin: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 40px; line-height: 1.08; font-weight: 500; letter-spacing: -.02em; }
.process ol { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; margin: 52px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process li { position: relative; padding: 27px 18px 0 0; }
.process li::before { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.process li span { color: #93a3aa; font-size: 11px; font-weight: 850; }
.process li strong { display: block; margin-top: 11px; color: var(--ink); font-size: 16px; }
.process li p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.partner-note { margin: 42px 0 0; padding-top: 25px; border-top: 1px solid var(--line); color: var(--steel); font-size: 14px; }

.contact-card {
  display: grid; grid-template-columns: 1.3fr .75fr auto; gap: 55px; align-items: center;
  margin-top: 90px; padding: 50px; border-radius: 24px; background: var(--ink); color: var(--white);
}
.contact-card .eyebrow { color: var(--gold); }
.contact-card h2 { max-width: 650px; color: var(--white); font-size: clamp(34px, 4vw, 52px); }
.contact-details { display: grid; gap: 12px; }
.contact-details a { color: var(--white); font-weight: 780; text-underline-offset: 4px; }
.contact-details p { margin: 8px 0 0; color: #c9d6db; font-size: 14px; line-height: 1.5; }
.contact-actions { display: grid; gap: 14px; justify-items: start; }
.contact-download { color: var(--white); font-size: 14px; }
.contact-download:hover { color: var(--gold); }

footer { padding: 42px 0; background: var(--paper); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
.footer-inner img { width: 155px; }
.footer-inner p { margin: 0; color: var(--steel); font-size: 13px; text-align: center; }
.footer-inner > div { display: flex; gap: 20px; color: var(--steel); font-size: 12px; }
.footer-inner a { font-weight: 750; }

.legal-page { background: var(--paper); }
.legal-page .site-header { position: absolute; }
.legal-main { padding: 160px 0 90px; }
.legal-content { max-width: 850px; }
.legal-content h1 {
  max-width: 820px; margin: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 66px); font-weight: 500; line-height: 1.04; letter-spacing: -.035em;
}
.legal-updated { margin: 20px 0 0; color: var(--steel); font-size: 13px; }
.legal-lead { margin: 45px 0 52px; padding: 27px 30px; border-left: 4px solid var(--gold); background: var(--mist); color: var(--ink); font-size: 20px; line-height: 1.58; }
.legal-content h2 { margin: 42px 0 13px; color: var(--ink); font-size: 22px; letter-spacing: -.01em; }
.legal-content p, .legal-content li { color: #394b53; font-size: 16px; line-height: 1.72; }
.legal-content ul { padding-left: 23px; }
.legal-content li { padding: 3px 0; }
.legal-content a:not(.button) { color: var(--ink); text-underline-offset: 4px; }
.legal-back { margin-top: 48px; }

.not-found-page { min-height: 100vh; background: var(--ink); }
.not-found-main { min-height: 100vh; display: grid; place-items: center; padding: 30px; }
.not-found-card { width: min(720px, 100%); padding: 55px; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.not-found-card img { width: 190px; margin-bottom: 65px; }
.not-found-card h1 { margin: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 6vw, 65px); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; }
.not-found-card > p:not(.eyebrow) { max-width: 560px; margin: 25px 0 35px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.not-found-card > div { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1000px) {
  .header-inner nav { display: none; }
  .menu-toggle { display: block; }
  .hero { min-height: 860px; grid-template-columns: 1fr; }
  .hero::before { inset-right: 0; }
  .hero-copy { grid-column: 1; align-items: flex-start; padding: 0 max(24px, calc((100vw - 1180px) / 2)) 330px; }
  .hero-text { max-width: 760px; padding-top: 95px; }
  .hero-image { inset: auto 0 0; height: 360px; background-position: 68% 35%; }
  .hero-note { bottom: 24px; }
  .advisor-grid { grid-template-columns: 1fr; }
  .recommendation { position: relative; top: 0; min-height: auto; }
  .example-row { grid-template-columns: 1fr 1fr; gap: 28px; }
  .example-row article:nth-child(2) { border-right: 0; }
  .brief-builder { grid-template-columns: 1fr; gap: 45px; }
  .brief-progress { display: none; }
  .approach-top { gap: 55px; }
  .process { padding: 38px; }
  .process ol { grid-template-columns: repeat(3,1fr); row-gap: 30px; }
  .contact-card { grid-template-columns: 1fr 1fr; }
  .contact-card .button { justify-self: start; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 32px, 1180px); }
  .header-inner { height: 70px; }
  .brand img { width: 158px; }
  .header-inner > .button { display: none; }
  .menu-toggle { display: block; }
  .hero { min-height: 820px; padding-top: 70px; }
  .hero::before { inset-top: 70px; }
  .hero-copy { padding: 0 16px 300px; }
  .hero-text { padding-top: 64px; }
  .hero h1 { font-size: clamp(44px, 13vw, 65px); }
  .hero-lead { font-size: 18px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-tags { margin-top: 38px; }
  .hero-image { height: 300px; }
  .hero-note { left: 16px; right: 16px; bottom: 16px; }
  .section { padding: 82px 0; }
  .section-heading { margin-bottom: 36px; }
  .need-grid { grid-template-columns: 1fr; }
  .need-card { min-height: 190px; }
  .recommendation { padding: 28px; }
  .project-examples { margin-top: 58px; }
  .example-row { grid-template-columns: 1fr; }
  .example-row article { padding: 0 0 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brief-builder { margin-top: 70px; padding: 35px 24px; border-radius: 18px; }
  .choice-row { grid-template-columns: 1fr; }
  .choice-row span { min-height: 56px; justify-content: flex-start; padding-inline: 16px; }
  .brief-result { padding: 26px 20px; }
  .approach-top { grid-template-columns: 1fr; }
  .credentials { grid-template-columns: 1fr; }
  .portrait { max-width: 430px; margin: 20px auto 0; }
  .process { margin-top: 80px; padding: 30px 24px; }
  .process-heading { grid-template-columns: 1fr; gap: 8px; }
  .process ol { grid-template-columns: 1fr; border-top: 0; }
  .process li { padding: 17px 0 17px 25px; border-left: 1px solid var(--line); }
  .process li::before { left: -5px; top: 24px; }
  .contact-card { grid-template-columns: 1fr; gap: 28px; padding: 35px 25px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: start; gap: 20px; }
  .footer-inner p { text-align: left; }
  .footer-inner > div { flex-direction: column; gap: 8px; }
  .legal-main { padding: 125px 0 65px; }
  .legal-lead { margin: 35px 0 42px; padding: 22px; font-size: 18px; }
}
