/* Rådgivning V/Thomas Armstrong — Statisk Webhotel Build */
*, *::before, *::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #E5DFD5;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

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

body {
  margin: 0;
  background-color: #FAF8F5;
  color: #142334;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: rgba(166, 131, 76, 0.2);
  color: #0F263C;
}

h1, h2, h3, h4, p, ul, figure, blockquote {
  margin: 0;
}

ul {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: inherit;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button {
  background-color: transparent;
  background-image: none;
  cursor: pointer;
}

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

.font-display, h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
}

.text-balance {
  text-wrap: balance;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Layout & Spacing */
.min-h-screen { min-height: 100vh; }
.min-h-\[34px\] { min-height: 34px; }
.min-h-\[38px\] { min-height: 38px; }
.min-h-\[40px\] { min-height: 40px; }
.min-h-\[44px\] { min-height: 44px; }

.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-6xl { max-width: 72rem; }
.max-h-\[300px\] { max-height: 300px; }

.w-1 { width: 0.25rem; }
.w-3\.5 { width: 0.875rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-auto { width: auto; }
.w-full { width: 100%; }

.h-1 { height: 0.25rem; }
.h-3\.5 { height: 0.875rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-16 { height: 4rem; }
.h-full { height: 100%; }

.aspect-\[3\/4\] { aspect-ratio: 3 / 4; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-2\.5 { margin-top: 0.625rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }

.p-1 { padding: 0.25rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pl-7 { padding-left: 1.75rem; }

/* Flex & Grid */
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-3\.5 { gap: 0.875rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

.space-y-1\.5 > :not(:first-child) { margin-top: 0.375rem; }
.space-y-5 > :not(:first-child) { margin-top: 1.25rem; }

/* Positioning & Overflow */
.relative { position: relative; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-40 { z-index: 40; }
.overflow-hidden { overflow: hidden; }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.object-top { object-position: top; }
.object-center { object-position: center; }

/* Colors & Backgrounds */
.bg-\[\#0F263C\] { background-color: #0F263C; }
.bg-\[\#A6834C\] { background-color: #A6834C; }
.bg-\[\#EFEAE2\] { background-color: #EFEAE2; }
.bg-\[\#F5F1EB\] { background-color: #F5F1EB; }
.bg-\[\#FAF8F5\] { background-color: #FAF8F5; }
.bg-\[\#FAF8F5\]\/95 { background-color: rgba(250, 248, 245, 0.95); }
.bg-\[\#FFFFFF\] { background-color: #FFFFFF; }
.backdrop-blur-sm { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

.text-\[\#0F263C\] { color: #0F263C; }
.text-\[\#142334\] { color: #142334; }
.text-\[\#2A3B4C\] { color: #2A3B4C; }
.text-\[\#3B4958\] { color: #3B4958; }
.text-\[\#465464\] { color: #465464; }
.text-\[\#5B6876\] { color: #5B6876; }
.text-\[\#8C6D3D\] { color: #8C6D3D; }
.text-\[\#9F2D2D\] { color: #9F2D2D; }
.text-\[\#A6834C\] { color: #A6834C; }
.text-\[\#FAF8F5\] { color: #FAF8F5; }

/* Borders & Dividers */
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; }

.border-\[\#D8D0C4\] { border-color: #D8D0C4; }
.border-\[\#DFD8CE\] { border-color: #DFD8CE; }
.border-\[\#E5DFD5\] { border-color: #E5DFD5; }
.border-\[\#ECE7DF\] { border-color: #ECE7DF; }
.border-\[\#EFEAE2\] { border-color: #EFEAE2; }

.divide-y > :not(:first-child) { border-top-width: 1px; }
.divide-\[\#DFD8CE\] > :not(:first-child) { border-color: #DFD8CE; }
.divide-\[\#EFEAE2\] > :not(:first-child) { border-color: #EFEAE2; }

.first\:pt-5:first-child { padding-top: 1.25rem; }
.last\:pb-5:last-child { padding-bottom: 1.25rem; }

.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }
.shadow-xs { box-shadow: 0 1px 2px 0 rgba(15, 38, 60, 0.05); }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-\[15px\] { font-size: 15px; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-\[clamp\(2\.25rem\,4vw\,3\.5rem\)\] { font-size: clamp(2.25rem, 4vw, 3.5rem); }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }

.leading-\[1\.12\] { line-height: 1.12; }
.leading-\[1\.65\] { line-height: 1.65; }
.leading-\[1\.7\] { line-height: 1.7; }
.leading-\[1\.75\] { line-height: 1.75; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }

.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre-line { white-space: pre-line; }

.underline { text-decoration-line: underline; }
.decoration-\[\#A6834C\]\/50 { text-decoration-color: rgba(166, 131, 76, 0.5); }
.decoration-\[\#A6834C\]\/60 { text-decoration-color: rgba(166, 131, 76, 0.6); }
.underline-offset-2 { text-underline-offset: 2px; }
.underline-offset-4 { text-underline-offset: 4px; }

/* Transitions & Interactive States */
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.duration-150 { transition-duration: 150ms; }

.nav-link {
  position: relative;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1.5px;
  width: 0;
  background-color: #A6834C;
  transition: width 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover {
  color: #0F263C;
}
.nav-link:hover::after {
  width: 100%;
}

.hover\:bg-\[\#193A58\]:hover { background-color: #193A58; }
.hover\:bg-\[\#F3EFE9\]:hover { background-color: #F3EFE9; }
.hover\:bg-\[\#FAF8F5\]:hover { background-color: #FAF8F5; }
.hover\:border-\[\#CBBFA8\]:hover { border-color: #CBBFA8; }
.hover\:text-\[\#0F263C\]:hover { color: #0F263C; }
.hover\:text-\[\#8C6D3D\]:hover { color: #8C6D3D; }
.hover\:decoration-\[\#8C6D3D\]:hover { text-decoration-color: #8C6D3D; }

input::placeholder, textarea::placeholder {
  color: #7D8894;
}

input:focus, select:focus, textarea:focus {
  border-color: #0F263C;
  background-color: #FFFFFF;
  outline: none;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #A6834C;
  outline-offset: 2px;
}

/* Responsive Breakpoints */
@media (min-width: 640px) {
  .sm\:inline-flex { display: inline-flex; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:justify-between { justify-content: space-between; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:gap-6 { gap: 1.5rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:pl-0 { padding-left: 0; }
  .sm\:text-right { text-align: right; }
  .sm\:text-\[15px\] { font-size: 15px; }
  .sm\:text-\[17px\] { font-size: 17px; }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .sm\:text-\[28px\] { font-size: 28px; }
  .sm\:text-\[34px\] { font-size: 34px; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:flex-row { flex-direction: row; }
  .lg\:items-start { align-items: flex-start; }
  .lg\:items-center { align-items: center; }
  .lg\:items-end { align-items: flex-end; }
  .lg\:items-stretch { align-items: stretch; }
  .lg\:justify-between { justify-content: space-between; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:gap-12 { gap: 3rem; }
  .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
}
