/* ==============================================================
   TRENDME – Stilark
   Endre fargene under for å justere hele paletten.
   ============================================================== */

:root {
  /* Farger – mørk premium palett */
  --bg:           #0b0d10;
  --bg-elev:      #111418;
  --bg-soft:      #15191e;
  --line:         rgba(255,255,255,0.08);
  --line-strong:  rgba(255,255,255,0.16);
  --text:         #ecedef;
  --text-muted:   #9aa0a8;
  --text-dim:     #6b7079;

  /* Aksent – varm metallisk gull/champagne */
  --accent:       #d4b483;
  --accent-soft:  #e6cfa8;
  --accent-deep:  #b48f5a;

  /* Layout */
  --maxw:         1200px;
  --radius:       14px;
  --radius-lg:    22px;

  /* Typografi */
  --font-sans:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-serif:   'Fraunces', Georgia, serif;

  /* Bevegelse */
  --ease:         cubic-bezier(.2,.7,.2,1);
}

/* -------- Reset / base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* -------- Typografi -------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin: 0 0 18px;
}
.h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}
.section__sub {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 16px;
  max-width: 560px;
}

/* -------- Knapper -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 16px 28px; font-size: 15px; }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--primary {
  background: var(--accent);
  color: #1b1408;
  box-shadow: 0 10px 30px -12px rgba(212,180,131,0.55);
}
.btn--primary:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -14px rgba(212,180,131,0.7);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ==============================================================
   NAVIGASJON
   ============================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11,13,16,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  color: var(--text);
}
.nav__logo img { height: 34px; width: auto; }
.nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav__links a {
  font-size: 14px;
  color: var(--text-muted);
  position: relative;
  transition: color .25s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: inline-flex; }
.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 20px; }
.nav__toggle span:nth-child(3) { top: 26px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ==============================================================
   HERO
   ============================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #000;
}
.hero__video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
/* Vimeo iframe – skaler så den dekker hele heroen uten kontroller */
.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;     /* 16:9 */
  min-height: 100vh;
  min-width: calc(100vh * 16 / 9);
  transform: translate(-50%, -50%) scale(1.04);
  border: 0;
  pointer-events: none;
  filter: saturate(0.9) contrast(1.05);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(11,13,16,0.5), rgba(11,13,16,0.92) 70%),
    linear-gradient(180deg, rgba(11,13,16,0.55) 0%, rgba(11,13,16,0.85) 60%, var(--bg) 100%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero__content {
  position: relative;
  max-width: 880px;
}
.hero__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.hero__title-accent {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(120deg, var(--accent-soft), var(--accent) 50%, var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lede {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 0 36px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 48px;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.hero__meta .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 0 4px rgba(212,180,131,0.12);
}
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.hero__scroll span {
  width: 2px; height: 6px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ==============================================================
   SECTIONS
   ============================================================== */
.section {
  padding: clamp(80px, 11vw, 140px) 0;
  position: relative;
}
.section__head {
  max-width: 760px;
  margin: 0 0 64px;
}

/* -------- Intro -------- */
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.intro__right p { font-size: 17px; color: var(--text-muted); margin: 0 0 18px; }
.intro__right p:last-child { margin: 0; }

/* -------- Tjenester / kort -------- */
.services {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(212,180,131,0.06), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: var(--bg-soft);
}
.card--featured {
  background: linear-gradient(180deg, rgba(212,180,131,0.08), rgba(212,180,131,0.02) 60%), var(--bg-elev);
  border-color: rgba(212,180,131,0.35);
}
.card__badge {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(212,180,131,0.1);
  border: 1px solid rgba(212,180,131,0.3);
  padding: 5px 10px;
  border-radius: 999px;
}
.card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(212,180,131,0.08);
  border: 1px solid rgba(212,180,131,0.2);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.card__icon svg { width: 22px; height: 22px; }
.card__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.card__desc { color: var(--text-muted); font-size: 15px; margin: 0 0 22px; }
.card__list { margin: 0 0 24px; flex: 1; }
.card__list li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 14px;
  color: var(--text);
  border-top: 1px solid var(--line);
}
.card__list li:first-child { border-top: none; }
.card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 16px;
  width: 10px; height: 1px;
  background: var(--accent);
}
.card__price {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--accent);
  margin: 0 0 18px;
  font-style: italic;
}

/* -------- Showreel -------- */
.showreel__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #000;
  box-shadow: 0 40px 100px -40px rgba(0,0,0,0.8), 0 0 0 1px rgba(212,180,131,0.05);
}
.showreel__ratio {
  position: relative;
  padding-top: 56.25%;     /* 16:9 */
}
.showreel__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.showreel__caption {
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  margin: 24px 0 0;
}

/* -------- Audience -------- */
.audience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.audience__item {
  background: var(--bg);
  padding: 40px 32px;
  transition: background .35s var(--ease);
}
.audience__item:hover { background: var(--bg-elev); }
.audience__item span {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.audience__item h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.audience__item p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* -------- Why -------- */
.why {
  background:
    radial-gradient(ellipse at 0% 50%, rgba(212,180,131,0.05), transparent 50%),
    var(--bg);
}
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.why__copy p { color: var(--text-muted); margin: 24px 0 0; max-width: 460px; }
.why__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.why__list li { padding-top: 24px; border-top: 1px solid var(--line); }
.why__list h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 19px;
  margin: 0 0 8px;
  color: var(--text);
}
.why__list p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* -------- Process -------- */
.process {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: none;
}
.process__step { position: relative; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.process__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}
.process__step h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.process__step p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* -------- Om meg -------- */
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7);
}
.about__photo picture,
.about__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about__copy p {
  color: var(--text-muted);
  font-size: 17px;
  margin: 0 0 18px;
  max-width: 520px;
}
.about__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.about__phone:hover { color: var(--accent); border-color: var(--accent); }

/* -------- Contact -------- */
.contact {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(212,180,131,0.1), transparent 60%),
    var(--bg);
}
.contact__inner { max-width: 760px; margin: 0 auto; }
.contact__title { margin: 0 0 18px; font-size: clamp(32px, 5vw, 54px); }
.contact__lede { color: var(--text-muted); font-size: 17px; margin: 0 auto 36px; max-width: 540px; }
.contact__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.contact__details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
}
.contact__details dt {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.contact__details dd {
  font-family: var(--font-serif);
  font-size: 18px;
  margin: 0;
  color: var(--text);
}
.contact__details a:hover { color: var(--accent); }

/* -------- Footer -------- */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand img { height: 26px; width: auto; }
.footer__tag { color: var(--text-muted); font-size: 14px; margin: 0; }
.footer__meta {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-dim);
}
.footer__meta a:hover { color: var(--accent); }

/* ==============================================================
   ANIMASJONER (reveal-on-scroll)
   ============================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

/* ==============================================================
   RESPONSIVT
   ============================================================== */
@media (max-width: 960px) {
  .intro__grid { grid-template-columns: 1fr; gap: 32px; }
  .services__grid { grid-template-columns: 1fr; }
  .audience__grid { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: 1fr; gap: 48px; }
  .process__steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__photo { max-width: 380px; margin: 0 auto; }
  .contact__details { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 720px) {
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    top: 70px; left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    background: rgba(17,20,24,0.96);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav__links a { padding: 14px 12px; border-radius: 10px; }
  .nav__links a:hover { background: rgba(255,255,255,0.04); }
  .nav.is-open .nav__links {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav__links a::after { display: none; }

  .hero { padding: 120px 0 80px; min-height: 92vh; }
  .hero__cta .btn { width: 100%; }
  .hero__meta { flex-direction: column; gap: 12px; }

  .audience__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .why__list { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .card { padding: 28px 22px; }
}
