:root {
  --gold: #8a6d29;
  --gold-light: #cfb46a;
  --black: #111111;
  --grey: #6c7078;
  --cream: #faf7f1;
  --white: #ffffff;
  --max-width: 1450px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--black);
  background: var(--cream);
}

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

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--black);
  transition: color 0.15s ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--gold);
}

/* ---------- Hero (forside) ---------- */

.hero {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  padding: 0 3rem;
}

/* Tekstpanel lagt oppå venstre bilde, med diagonal scrim for kontrast */
.hero-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 3rem;
  width: calc((100% - 6rem - clamp(1.5rem, 2.5vw, 2.5rem)) / 2);
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2.5rem;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.60) 0%, rgba(17, 17, 17, 0.28) 32%, rgba(17, 17, 17, 0) 58%),
    linear-gradient(0deg, rgba(17, 17, 17, 0.32) 0%, rgba(17, 17, 17, 0) 22%);
}

/* Bred fuge: bakgrunnen skinner gjennom mellom to selvstendige bilder */
.hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
}

/* Fast utsnitt: bildene viser alltid samme komposisjon uavhengig av vindushøyde */
.hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.18);
}

.hero-panel h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.roles {
  margin-top: 1rem;
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);
  font-weight: 600;
  line-height: 2.1;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.social-links {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 2.5rem;
}

.social {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social:hover,
.social:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(17, 17, 17, 0.25);
}

.social.imdb {
  background: #f5c518;
  color: #111111;
}

.social.instagram {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social.facebook {
  background: #1877f2;
}

.social.linkedin {
  background: #0a66c2;
}

.social.youtube {
  background: #ff0000;
}

.social svg {
  width: 19px;
  height: 19px;
}

/* ---------- Contact ---------- */

.contact-hero {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: stretch;
  gap: clamp(8px, 1vw, 14px);
  width: min(calc(var(--max-width) - 6rem), calc(100% - 6rem));
  margin: 0 auto 3rem;
}

.contact-img {
  height: 70vh;
  min-height: 480px;
  max-height: 600px;
  width: auto;
  object-fit: cover;
  display: block;
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.18);
}

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.25rem 2.5rem 1.25rem 0;
  color: var(--black);
}

.contact-info h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.4rem, 6vw, 6rem);
  font-weight: 700;
  margin-bottom: 3rem;
}

.contact-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.contact-group {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.contact-group:last-child {
  margin-bottom: 0;
}

.contact-group a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(138, 109, 41, 0.4);
  text-underline-offset: 0.3em;
  transition: color 0.15s ease;
}

.contact-group a:hover,
.contact-group a:focus-visible {
  color: var(--black);
  text-decoration-color: currentColor;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero {
    padding: 0 1.25rem;
    margin-bottom: 2rem;
  }

  .hero-images {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-panel {
    left: 1.25rem;
    bottom: auto;
    width: calc(100% - 2.5rem);
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 1.5rem;
  }

  .social-links {
    padding-top: 1.75rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 1.5rem 1.25rem;
  }

  .contact-hero {
    flex-direction: column-reverse;
    width: calc(100% - 2.5rem);
    margin-bottom: 2rem;
  }

  .contact-img {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .contact-info {
    padding: 0.5rem 0 1.5rem;
  }

  .contact-info h1 {
    margin-bottom: 1.5rem;
  }
}
