:root {
  --background: #fae5c0; /* lys fersken, mot gult */
  --hero: #f0a483; /* Butinox 5900 Søt fersken */
  --background-strong: #f5d9a8;
  --surface: rgba(255, 251, 248, 0.9);
  --surface-strong: #fffbf7;
  --text: #35262b;
  --muted: #8a6b70;
  --accent: #d0104c;
  --accent-dark: #8f0b37;
  --button: #e06a80;
  --button-dark: #c44e66;
  --line: rgba(143, 11, 55, 0.16);
  --shadow: 0 24px 60px rgba(120, 20, 50, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--background);
}

a {
  color: inherit;
}

.card p a,
.card li a {
  color: var(--accent-dark);
  font-weight: 600;
  text-underline-offset: 3px;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto;
  border: 1px solid rgba(255, 248, 238, 0.68);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 249, 244, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  padding: 24px;
  background: var(--hero);
  min-height: 78vh;
  display: flex;
  flex-direction: column;
}

.topbar,
.hero-content {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand,
.nav-links a,
.eyebrow,
.lead,
.hero-details {
  color: #4a2b1b;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
}

.hero-content {
  margin-top: auto;
  max-width: 720px;
  padding: 64px 0 24px;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 360px);
  gap: 28px;
  align-items: end;
  margin-top: auto;
}

.hero-photo {
  margin: 0 0 24px;
  justify-self: end;
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 247, 242, 0.32);
  box-shadow: 0 24px 60px rgba(40, 20, 24, 0.24);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow,
.section-tag {
  margin: 0 0 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}

.section-tag {
  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  margin: 0;
}

h1 {
  font-size: clamp(3.8rem, 8vw, 6.8rem);
  line-height: 0.9;
  color: #3a2016;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.lead {
  max-width: 560px;
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 20px 0 32px;
}

.hero-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.hero-details div,
.card {
  border: 1px solid var(--line);
  border-radius: 22px;
}

.hero-details div {
  background: rgba(255, 251, 248, 0.35);
  backdrop-filter: blur(10px);
  padding: 18px;
}

.detail-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  opacity: 0.85;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--button);
  color: #fff7f2;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--button-dark);
}

.button.secondary {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid rgba(141, 47, 48, 0.28);
}

.section {
  padding: 36px 24px;
}

.intro-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(120, 60, 60, 0.05);
}

.card p,
.contact-list {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-list {
  padding-left: 18px;
}

.timeline-section {
  background:
    linear-gradient(180deg, rgba(255, 251, 248, 0.92), rgba(221, 214, 230, 0.4)),
    var(--surface-strong);
}

.section-heading {
  max-width: 640px;
  margin-bottom: 24px;
}

.timeline {
  display: grid;
  gap: 14px;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-layout,
  .hero-details,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    justify-self: start;
    width: min(100%, 420px);
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: calc(100% - 16px);
    margin: 8px auto;
    border-radius: 22px;
  }

  .hero,
  .section {
    padding: 18px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    font-size: 3.5rem;
  }
}
