:root {
  --pine-950: #18322b;
  --pine-800: #264a3f;
  --pine-700: #356052;
  --pine-100: #dfe9e2;
  --brick-700: #9c4534;
  --brick-100: #f2dfd8;
  --cream-50: #fdfbf6;
  --cream-100: #f6f0e4;
  --cream-200: #e9dfcc;
  --ink: #252c28;
  --muted: #667069;
  --white: #ffffff;
  --line: #d9d4c8;
  --shadow: 0 18px 45px rgb(35 48 41 / 10%);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  --content: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-50);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--pine-800);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--brick-700);
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  color: var(--pine-950);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 6.2vw, 5.4rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0 0 1.15rem;
}

.container {
  width: min(calc(100% - 2.5rem), var(--content));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--pine-950);
  border-radius: 0.25rem;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
  color: var(--white);
  background: var(--pine-950);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
}

.brand:hover {
  color: var(--white);
}

.brand-mark {
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
}

.brand-copy small {
  margin-top: 0.27rem;
  color: #c7d5cf;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  place-items: center;
  color: var(--white);
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 0.2rem;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  width: 20px;
  height: 2px;
  content: "";
  display: block;
  background: currentColor;
  transition: 180ms ease;
}

.nav-toggle span {
  margin: 4px 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.65rem);
}

.site-nav a {
  color: #e5ede9;
  font-size: 0.91rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: #d7a891;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45rem;
}

.site-nav .nav-cta {
  padding: 0.58rem 0.95rem;
  color: var(--pine-950);
  border-radius: 0.2rem;
  background: var(--cream-100);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  color: var(--pine-950);
  background: var(--white);
  text-decoration: none;
}

.hero {
  overflow: hidden;
  color: var(--white);
  background: var(--pine-950);
}

.hero-grid {
  min-height: 670px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: 5rem 4.5rem;
}

.hero h1,
.hero h2 {
  color: var(--cream-50);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 38rem;
  color: #d7e1dc;
  font-size: 1.13rem;
}

.eyebrow {
  margin-bottom: 1.1rem;
  color: var(--brick-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.section-dark .eyebrow,
.contact-aside .eyebrow {
  color: var(--brick-100);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.2rem;
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--brick-700);
}

.button-primary:hover {
  color: var(--white);
  background: #843726;
}

.button-light {
  color: var(--pine-950);
  background: var(--cream-100);
}

.button-light:hover {
  color: var(--pine-950);
  background: var(--white);
}

.button-outline {
  color: var(--pine-950);
  border-color: var(--pine-700);
  background: transparent;
}

.button-outline:hover {
  color: var(--white);
  background: var(--pine-800);
}

.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid rgb(255 255 255 / 20%);
  background: #21473c;
  box-shadow: 22px 24px 0 rgb(8 23 18 / 32%);
}

.hero-frame::after {
  position: absolute;
  right: 2rem;
  bottom: 1.8rem;
  padding: 0.55rem 0.75rem;
  content: "STAVANGER";
  color: var(--pine-950);
  background: var(--cream-100);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--cream-100);
}

.trust-items {
  min-height: 82px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.trust-item {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0 1.7rem;
  border-right: 1px solid var(--line);
}

.trust-item:first-child {
  padding-left: 0;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-icon {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--pine-800);
  border: 1px solid var(--pine-700);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.trust-item strong {
  display: block;
  color: var(--pine-950);
  font-family: var(--serif);
  font-weight: 600;
}

.trust-item span:last-child {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.section-compact {
  padding-block: 3.5rem;
}

.section-tint {
  background: var(--cream-100);
}

.section-dark {
  color: #dce6e1;
  background: var(--pine-950);
}

.section-dark h2,
.section-dark h3 {
  color: var(--cream-50);
}

.section-heading {
  max-width: 47rem;
  margin-bottom: 3rem;
}

.section-heading p:not(.eyebrow) {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.card {
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 5px 20px rgb(35 48 41 / 4%);
}

.card-number {
  width: 44px;
  height: 44px;
  display: grid;
  margin-bottom: 1.4rem;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--pine-800);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.split.reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.split.reverse > :first-child {
  order: 2;
}

.illustration-panel {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: var(--pine-100);
  border: 1px solid #c9d8cf;
}

.illustration-panel::before,
.illustration-panel::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.illustration-panel::before {
  width: 270px;
  height: 270px;
  top: -95px;
  right: -70px;
  background: var(--brick-100);
}

.illustration-panel::after {
  width: 190px;
  height: 190px;
  bottom: -80px;
  left: -55px;
  background: #cedcb5;
}

.key-list {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.key-list li {
  position: relative;
  padding: 0.8rem 0 0.8rem 2rem;
  border-bottom: 1px solid var(--line);
}

.key-list li::before {
  position: absolute;
  top: 0.9rem;
  left: 0;
  width: 1.15rem;
  height: 1.15rem;
  content: "✓";
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--pine-700);
  font-size: 0.7rem;
  font-weight: 900;
}

.quote-block {
  margin: 0;
  padding: 2.2rem;
  color: var(--cream-50);
  border-left: 4px solid #d7a891;
  background: var(--pine-800);
  font: 1.5rem/1.45 var(--serif);
}

.quote-block cite {
  display: block;
  margin-top: 1rem;
  color: #bed0c8;
  font: 0.78rem/1.5 var(--sans);
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-hero {
  color: #d7e1dc;
  background: var(--pine-950);
}

.page-hero-inner {
  max-width: 850px;
  padding-block: clamp(4.5rem, 9vw, 7rem);
}

.page-hero h1 {
  color: var(--cream-50);
  font-size: clamp(2.65rem, 6vw, 4.8rem);
}

.page-hero p:last-child {
  max-width: 43rem;
  margin-bottom: 0;
  font-size: 1.15rem;
}

.status-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid #bdcfc5;
  background: var(--pine-100);
}

.status-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--brick-700);
  box-shadow: 0 0 0 7px rgb(156 69 52 / 12%);
}

.status-box h2 {
  margin-bottom: 0.25rem;
  font: 600 1.35rem/1.2 var(--serif);
}

.status-box p {
  margin: 0;
  color: var(--muted);
}

.property-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.property-card:nth-child(1) {
  background: linear-gradient(165deg, #dce9e1 0 48%, var(--white) 48%);
}

.property-card:nth-child(2) {
  background: linear-gradient(165deg, #f0ded5 0 48%, var(--white) 48%);
}

.property-card:nth-child(3) {
  background: linear-gradient(165deg, #e6e1cc 0 48%, var(--white) 48%);
}

.property-symbol {
  width: 92px;
  height: 78px;
  margin: 0 auto 3.5rem;
  position: relative;
  border: 3px solid var(--pine-800);
  background: var(--cream-50);
}

.property-symbol::before {
  position: absolute;
  width: 64px;
  height: 64px;
  top: -36px;
  left: 11px;
  content: "";
  border-top: 3px solid var(--pine-800);
  border-left: 3px solid var(--pine-800);
  background: var(--cream-50);
  transform: rotate(45deg);
}

.property-symbol::after {
  position: absolute;
  width: 21px;
  height: 34px;
  right: 15px;
  bottom: 0;
  content: "";
  border: 3px solid var(--pine-800);
  border-bottom: 0;
  background: var(--brick-100);
}

.timeline {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.timeline::before {
  position: absolute;
  top: 1.7rem;
  bottom: 1.7rem;
  left: 25px;
  width: 1px;
  content: "";
  background: var(--line);
}

.timeline li {
  position: relative;
  min-height: 90px;
  padding: 0 0 2.6rem 5.5rem;
  counter-increment: steps;
}

.timeline li::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 52px;
  height: 52px;
  content: counter(steps);
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--pine-800);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.timeline h2 {
  margin-bottom: 0.35rem;
  font-size: 1.55rem;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.info-box {
  padding: 1.75rem;
  border-left: 4px solid var(--brick-700);
  background: var(--white);
}

.info-box h3 {
  font-size: 1.25rem;
}

.info-box p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.districts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.districts span {
  padding: 0.48rem 0.78rem;
  color: var(--pine-950);
  border: 1px solid #bdcbbf;
  border-radius: 999px;
  background: rgb(255 255 255 / 60%);
  font-size: 0.84rem;
  font-weight: 700;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-aside {
  padding: clamp(2rem, 5vw, 3.5rem);
  color: #dce6e1;
  background: var(--pine-800);
}

.contact-aside h2,
.contact-aside h3 {
  color: var(--white);
}

.contact-content {
  padding: clamp(2rem, 5vw, 3.5rem);
}

.contact-rule {
  margin: 1.6rem 0;
  border: 0;
  border-top: 1px solid rgb(255 255 255 / 20%);
}

.notice {
  padding: 1rem 1.1rem;
  color: #673228;
  border: 1px solid #e1c2b6;
  background: #fbede7;
  font-size: 0.92rem;
}

.contact-form {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  color: var(--pine-950);
  font-size: 0.88rem;
  font-weight: 750;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 49px;
  padding: 0.72rem 0.82rem;
  color: var(--ink);
  border: 1px solid #aaa99f;
  border-radius: 0.15rem;
  outline: 0;
  background: var(--cream-50);
  font: inherit;
  font-size: 0.95rem;
}

.form-field textarea {
  min-height: 145px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--pine-700);
  box-shadow: 0 0 0 3px rgb(53 96 82 / 15%);
}

.form-hint {
  margin: -0.35rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.form-note {
  min-height: 1.6rem;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-note.ok {
  color: #246044;
}

.form-note.error {
  color: #9c3528;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.cta-band {
  padding-block: 4rem;
  color: #dce6e1;
  background: var(--brick-700);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  margin-bottom: 0.35rem;
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.cta-band p {
  margin: 0;
}

.site-footer {
  padding-block: 4rem 2rem;
  color: #bdcbc5;
  background: #10251f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr;
  gap: 3rem;
}

.footer-brand p {
  max-width: 25rem;
  margin-top: 1rem;
  font-size: 0.91rem;
}

.footer-title {
  margin-bottom: 0.8rem;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.45rem;
}

.footer-links a {
  color: #cdd8d3;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: 0.78rem;
}

.error-page {
  min-height: 75vh;
  display: grid;
  place-items: center;
  padding: 4rem 0;
  text-align: center;
}

.error-code {
  margin: 0;
  color: var(--brick-700);
  font: 500 clamp(5rem, 20vw, 11rem)/0.85 var(--serif);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 84px;
    right: 0;
    left: 0;
    display: none;
    padding: 1rem 1.25rem 1.4rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid rgb(255 255 255 / 12%);
    background: var(--pine-950);
    box-shadow: 0 20px 30px rgb(0 0 0 / 20%);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0.25rem;
  }

  .site-nav a[aria-current="page"] {
    text-underline-offset: 0.2rem;
  }

  .site-nav .nav-cta {
    margin-top: 0.5rem;
    padding: 0.7rem 0.85rem;
    text-align: center;
  }

  .hero-grid,
  .split,
  .split.reverse,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-visual {
    max-width: 650px;
  }

  .split.reverse > :first-child {
    order: initial;
  }

  .cards-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-3 > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 650px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 1.5rem), var(--content));
  }

  .header-inner {
    min-height: 74px;
  }

  .site-nav {
    top: 74px;
  }

  .brand-copy small {
    display: none;
  }

  .hero-grid {
    padding-block: 3.5rem 3rem;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 14vw, 3.7rem);
  }

  .hero-frame {
    box-shadow: 10px 12px 0 rgb(8 23 18 / 32%);
  }

  .trust-items,
  .cards-3,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .trust-items {
    padding-block: 0.7rem;
  }

  .trust-item,
  .trust-item:first-child {
    padding: 0.75rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .cards-3 > :last-child {
    grid-column: auto;
  }

  .status-box {
    grid-template-columns: auto 1fr;
  }

  .status-box .button {
    grid-column: 1 / -1;
  }

  .timeline li {
    padding-left: 4.3rem;
  }

  .cta-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

.turnstile-wrap {
  min-height: 65px;
  max-width: 100%;
}

.cf-turnstile {
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
