/* Barista page: final overrides live here so old about.css experiments do not fight the layout. */
.barista-reference {
  min-height: 100vh;
  width: 100%;
  padding: 0 0 38px;
  background: var(--page-fade), var(--bg);
  color: var(--text);
}

.barista-reference-hero {
  width: min(var(--max), calc(100% - 40px));
  min-height: 64vh;
  margin: 0 auto;
  padding-top: 88px;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(520px, 1fr);
  gap: clamp(42px, 6vw, 96px);
  align-items: center;
}

.barista-reference-copy {
  min-width: 0;
}

.barista-reference-kicker {
  color: #7888ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.barista-reference-copy h1 {
  margin: 16px 0 0;
  color: var(--text);
  font-size: clamp(3.4rem, 5vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.38);
}

.barista-reference-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 28px;
}

.barista-reference-chips span {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(232, 237, 246, 0.92);
  background: transparent;
  box-shadow: none;
  font-size: 0.82rem;
  font-weight: 800;
}

.barista-reference-chips span::before {
  display: none !important;
}

.barista-reference-chips svg {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #7888ff;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 0 8px rgba(120, 136, 255, 0.34));
}

.barista-reference-chips b {
  font: inherit;
}

.barista-reference-media {
  position: relative;
  justify-self: end;
  width: min(100%, 640px);
  aspect-ratio: 5 / 6;
  height: auto;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(120, 136, 255, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(120, 136, 255, 0.06);
}

.barista-reference-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to top, rgba(6, 6, 6, 0.24), rgba(6, 6, 6, 0.02) 58%);
  pointer-events: none;
}

.barista-reference-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 56%;
  filter: saturate(0.96) contrast(1.02);
}

.barista-reference-panels {
  width: min(var(--max), calc(100% - 40px));
  display: grid;
  gap: 18px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 18px;
}

.barista-reference-panel {
  position: relative;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  min-height: 146px;
  padding: 26px 34px;
  border: 1px solid rgba(120, 136, 255, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  box-shadow:
    0 16px 38px rgba(0,0,0,0.36),
    0 0 0 1px rgba(120, 136, 255, 0.06);
}

.barista-reference-panel::before {
  content: "";
  position: absolute;
  left: 134px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(120, 136, 255, 0.42), transparent);
}

.barista-reference-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  justify-self: center;
  border-radius: 999px;
  color: #7888ff;
  background: linear-gradient(135deg, rgba(120, 136, 255, 0.18), rgba(120, 136, 255, 0.06));
  box-shadow: 0 0 0 1px rgba(120, 136, 255, 0.14);
}

.barista-reference-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.barista-reference-text h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  line-height: 1.18;
}

.barista-reference-text p {
  width: min(860px, 100%);
  margin: 14px 0 0;
  color: var(--soft);
  font-size: 0.98rem;
  line-height: 1.66;
}

.barista-reference-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .barista-reference-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 96px;
  }

  .barista-reference-media {
    grid-row: 1;
    justify-self: center;
    width: min(100%, 640px);
  }

  .barista-reference-copy {
    grid-row: 2;
  }
}

@media (max-width: 640px) {
  .barista-reference-copy h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .barista-reference-chips {
    gap: 14px;
  }

  .barista-reference-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }

  .barista-reference-panel::before {
    display: none;
  }

  .barista-reference-icon {
    justify-self: start;
  }
}

/* Shared job detail template used by job pages that follow the Barista layout. */
.job-reference {
  min-height: 100vh;
  width: 100%;
  padding: 0 0 38px;
  background: var(--page-fade), var(--bg);
  color: var(--text);
}

.job-reference-hero,
.job-reference-panels,
.job-reference-footer {
  width: min(var(--max), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.job-reference-hero {
  min-height: 64vh;
  padding-top: 88px;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(520px, 1fr);
  gap: clamp(42px, 6vw, 96px);
  align-items: center;
}

.job-reference-copy {
  min-width: 0;
}

.job-reference-kicker {
  color: #7888ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.job-reference-copy h1 {
  margin: 16px 0 0;
  color: var(--text);
  font-size: clamp(3.4rem, 5vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.38);
}

.job-reference-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 28px;
}

.job-reference-chips span {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: rgba(232, 237, 246, 0.92);
  font-size: 0.82rem;
  font-weight: 800;
}

.job-reference-chips svg {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  color: #7888ff;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(120, 136, 255, 0.34));
}

.job-reference-chips b {
  font: inherit;
}

.job-reference-media {
  position: relative;
  justify-self: end;
  width: min(100%, 640px);
  aspect-ratio: 5 / 6;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(120, 136, 255, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(120, 136, 255, 0.06);
}

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

.job-reference-illustration {
  display: grid;
  align-items: stretch;
  aspect-ratio: 1.2 / 1;
  padding: clamp(24px, 3vw, 42px);
  background:
    linear-gradient(90deg, rgba(14, 15, 25, 0.98) 0%, rgba(14, 15, 25, 0.86) 42%, rgba(14, 15, 25, 0.30) 100%),
    url("../assets/images/ChatGPT Image Jul 27, 2026, 11_43_36 PM.png") right center / auto 104% no-repeat;
}

.job-reference-illustration::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 72% 42%, rgba(120, 136, 255, 0.20), transparent 42%),
    linear-gradient(180deg, rgba(6, 6, 6, 0.04), rgba(6, 6, 6, 0.22));
  pointer-events: none;
}

.job-reference-vedlikehold {
  width: min(100%, 700px);
  min-height: 560px;
  background:
    url("../assets/images/Sopnes kirke.JPG") 37% center / auto 112% no-repeat,
    linear-gradient(135deg, rgba(23, 28, 22, 0.96), rgba(14, 15, 25, 0.98));
}

.job-reference-vedlikehold::before {
  display: none;
}

.job-reference-copy-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(620px, 100%);
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(120, 136, 255, 0.22);
}

.job-reference-copy-facts span,
.job-reference-copy-facts strong {
  display: block;
}

.job-reference-copy-facts span {
  color: #7888ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.job-reference-copy-facts strong {
  margin-top: 8px;
  color: rgba(232, 237, 246, 0.92);
  font-size: 0.98rem;
  line-height: 1.35;
}

.job-reference-alut {
  display: grid;
  place-items: center;
  width: min(100%, 660px);
  min-height: 520px;
  background:
    linear-gradient(135deg, rgba(14, 15, 25, 0.96), rgba(21, 32, 37, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.job-reference-alut::before {
  background:
    linear-gradient(90deg, rgba(120, 136, 255, 0.10) 1px, transparent 1px),
    linear-gradient(180deg, rgba(120, 136, 255, 0.10) 1px, transparent 1px),
    radial-gradient(circle at 34% 32%, rgba(87, 196, 255, 0.22), transparent 30%),
    radial-gradient(circle at 74% 72%, rgba(120, 136, 255, 0.18), transparent 34%);
  background-size: 46px 46px, 46px 46px, auto, auto;
  opacity: 0.9;
}

.job-reference-alut-card {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 22px;
  width: min(360px, calc(100% - 56px));
  padding: 38px 34px;
  border: 1px solid rgba(120, 136, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(10, 12, 18, 0.68);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(120, 136, 255, 0.08);
  backdrop-filter: blur(12px);
}

.job-reference-alut-card img {
  width: min(180px, 72%);
  height: auto;
}

.job-reference-alut-card p {
  margin: 0;
  color: rgba(232, 237, 246, 0.84);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.job-reference-electro {
  width: min(100%, 760px);
  min-height: 640px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(14, 15, 25, 0.10), rgba(14, 15, 25, 0.34)),
    url("../assets/images/ChatGPT Image Jul 27, 2026, 11_43_36 PM.png") center center / auto 132% no-repeat;
  box-shadow: none;
  opacity: 0.48;
  mix-blend-mode: screen;
}

.job-reference-electro::before {
  background:
    radial-gradient(circle at 54% 38%, rgba(120, 136, 255, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(6, 6, 6, 0.10), rgba(6, 6, 6, 0.28));
}

.job-reference-meta {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  width: min(360px, 58%);
  min-width: 280px;
}

.job-reference-company {
  margin: 0;
  color: #9aa2ff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.job-reference-place {
  margin: 12px 0 0;
  color: rgba(232, 237, 246, 0.84);
  font-size: 1.05rem;
}

.job-reference-divider {
  width: 100%;
  height: 1px;
  margin: 24px 0 28px;
  background: linear-gradient(90deg, rgba(120, 136, 255, 0.34), transparent);
}

.job-reference-facts {
  display: grid;
  gap: 22px;
}

.job-reference-fact {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.job-reference-fact-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #8e97ff;
  background: linear-gradient(135deg, rgba(120, 136, 255, 0.20), rgba(120, 136, 255, 0.08));
  box-shadow: 0 0 0 1px rgba(120, 136, 255, 0.12);
}

.job-reference-fact-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.job-reference-fact strong,
.job-reference-fact span {
  display: block;
}

.job-reference-fact strong {
  color: var(--text);
  font-size: clamp(1.12rem, 1.55vw, 1.42rem);
  line-height: 1.2;
}

.job-reference-fact span {
  margin-top: 4px;
  color: rgba(232, 237, 246, 0.72);
  font-size: 0.98rem;
  font-weight: 700;
}

.job-reference-fact ul {
  margin: 7px 0 0;
  padding-left: 18px;
  color: rgba(232, 237, 246, 0.78);
  font-size: 0.95rem;
  line-height: 1.45;
}

.job-reference-panels {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.job-reference-panel {
  position: relative;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  min-height: 146px;
  padding: 26px 34px;
  border: 1px solid rgba(120, 136, 255, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  box-shadow:
    0 16px 38px rgba(0,0,0,0.36),
    0 0 0 1px rgba(120, 136, 255, 0.06);
}

.job-reference-panel::before {
  content: "";
  position: absolute;
  left: 134px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(120, 136, 255, 0.42), transparent);
}

.job-reference-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  justify-self: center;
  border-radius: 999px;
  color: #7888ff;
  background: linear-gradient(135deg, rgba(120, 136, 255, 0.18), rgba(120, 136, 255, 0.06));
  box-shadow: 0 0 0 1px rgba(120, 136, 255, 0.14);
}

.job-reference-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.job-reference-text h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  line-height: 1.18;
}

.job-reference-text p {
  width: min(920px, 100%);
  margin: 14px 0 0;
  color: var(--soft);
  font-size: 0.98rem;
  line-height: 1.66;
}

.job-reference-footer {
  padding: 34px 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .job-reference-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 96px;
  }

  .job-reference-media {
    grid-row: 1;
    justify-self: center;
    width: min(100%, 640px);
  }

  .job-reference-copy {
    grid-row: 2;
  }
}

@media (max-width: 640px) {
  .job-reference-copy h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .job-reference-chips {
    gap: 14px;
  }

  .job-reference-illustration {
    aspect-ratio: auto;
    min-height: 560px;
    padding: 24px;
    background:
      linear-gradient(180deg, rgba(14, 15, 25, 0.98) 0%, rgba(14, 15, 25, 0.84) 52%, rgba(14, 15, 25, 0.32) 100%),
      url("../assets/images/ChatGPT Image Jul 27, 2026, 11_43_36 PM.png") center bottom / auto 94% no-repeat;
  }

  .job-reference-vedlikehold {
    min-height: 680px;
    background:
      url("../assets/images/Sopnes kirke.JPG") 35% center / auto 108% no-repeat,
      linear-gradient(135deg, rgba(23, 28, 22, 0.96), rgba(14, 15, 25, 0.98));
  }

  .job-reference-copy-facts {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    margin-top: 28px;
    padding-top: 18px;
  }

  .job-reference-electro {
    min-height: 680px;
    background:
      linear-gradient(180deg, rgba(14, 15, 25, 0.12), rgba(14, 15, 25, 0.34)),
      url("../assets/images/ChatGPT Image Jul 27, 2026, 11_43_36 PM.png") center center / auto 118% no-repeat;
    opacity: 0.42;
  }

  .job-reference-meta {
    align-content: start;
    width: 100%;
    min-width: 0;
  }

  .job-reference-fact {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
  }

  .job-reference-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }

  .job-reference-panel::before {
    display: none;
  }

  .job-reference-icon {
    justify-self: start;
  }
}
