/* Customer stories remain visible rather than rotating in a carousel. */
.customer-stories { background: #f3f5f0; border-bottom: 1px solid #dfe7df; }
.customer-stories .section-head { align-items: flex-end; }
.customer-intro { max-width: 390px; }
.customer-intro > p { font-size: 16px; line-height: 1.75; margin-bottom: 20px; }
.customer-intro .text-link { color: #315bcc; }
.case-feature { display: grid; grid-template-columns: 1.08fr 1fr; overflow: hidden; background: #203d51; color: #fff; border-radius: 8px; }
.case-image { position: relative; display: block; min-height: 350px; overflow: hidden; background: #182630; }
.case-image img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 48% 50%; transition: transform .4s ease; }
.case-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, #10212e85); pointer-events: none; }
.case-image:hover img { transform: scale(1.025); }
.case-play { position: absolute; z-index: 1; bottom: 25px; left: 25px; display: flex; align-items: center; gap: 10px; padding: 11px 16px; background: #fff; color: #172e3b; border-radius: 5px; font-size: 14px; font-weight: 600; }
.case-play > span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #315bcc; color: #fff; font-size: 24px; line-height: 1; }
.case-copy { padding: 38px 40px; display: flex; flex-direction: column; align-items: flex-start; }
.case-copy .eyebrow { color: #c1d4e1; margin-bottom: 20px; }
.case-copy :is(h2,h3) { font-size: 32px; line-height: 1.25; letter-spacing: -.025em; margin-bottom: 20px; }
.case-copy > p:not(.eyebrow) { color: #e1eaf0; font-size: 16px; line-height: 1.75; margin-bottom: 24px; }
.case-copy .text-link { color: #fff; margin-top: auto; padding-bottom: 5px; border-bottom: 1px solid #8097a7; }
.customer-quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.customer-quote { display: flex; flex-direction: column; margin: 0; padding: 30px; background: #fff; border: 1px solid #dce5df; border-radius: 7px; }
.customer-quote-top { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.customer-quote-top img { flex-shrink: 0; width: 64px; height: 64px; }
.customer-mark { object-fit: contain; }
.customer-avatar { border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.customer-quote .eyebrow { font-size: 11px; }
.customer-quote blockquote { font-size: 23px; line-height: 1.65; letter-spacing: -.01em; margin-bottom: 24px; }
.customer-quote figcaption { margin-top: auto; }
.customer-quote figcaption strong { display: block; font-size: 16px; font-weight: 600; }
.customer-quote figcaption > span { display: block; margin-top: 3px; font-size: 14px; color: #506671; }
.customer-hub-feature { padding-bottom: 0; }
.customer-experiences { padding-top: 80px; }
.experience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.experience-card { padding: 28px; border: 1px solid #dce5df; border-radius: 7px; background: #f0f3f0; }
.experience-mark { height: 64px; display: flex; align-items: center; margin-bottom: 22px; }
.experience-mark img { max-width: 150px; width: auto; height: 64px; object-fit: contain; }
.experience-mark img[src*="fagskolen"] { height: 45px; }
.experience-initial { display: grid; place-items: center; width: 52px; height: 52px; background: #e1e8ed; border: 1px solid #ccd8e0; border-radius: 50%; color: #315bcc; font-weight: 600; font-size: 23px; }
.experience-card .eyebrow { font-size: 11px; margin-bottom: 14px; }
.experience-card h3 { font-size: 24px; line-height: 1.3; margin-bottom: 16px; }
.experience-card > p:not(.eyebrow) { font-size: 16px; line-height: 1.75; }
.experience-card .experience-person { margin-top: 20px; color: #315bcc; font-size: 14px !important; font-weight: 600; }
.customer-experiences .customer-quote-grid { margin-top: 40px; }
.customer-video { margin: 0; }
.customer-video video { display: block; width: 100%; aspect-ratio: 16/9; background: #152a3b; border-radius: 8px; }
.customer-video figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 16px; font-size: 14px; color: #405963; }
.customer-video figcaption a { color: #315bcc; text-decoration: underline; text-underline-offset: 4px; }
.case-narrative { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 75px; }
.case-narrative h2 { font-size: 42px; margin-top: 20px; }
.case-narrative .prose p:first-child { margin-top: 0; }
.case-narrative .text-link { margin-top: 14px; }
.case-related { border-top: 1px solid #d0dcd5; margin-top: 60px; padding-top: 35px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.case-related h3 { margin-top: 12px; }
.course-customer-proof { margin-top: 55px; }
.course-customer-proof .customer-quote { background: #f0f3f0; }
.course-customer-proof .customer-quote blockquote { max-width: 880px; }

@media (min-width: 641px) and (max-width: 1120px) {
  .menu-toggle { display: flex; align-items: center; gap: 13px; background: none; border: 0; padding: 10px 0; cursor: pointer; font-size: 15px; }
  .menu-toggle span { font-size: 21px; }
  .nav nav { display: none; position: absolute; left: 0; right: 0; top: 94px; padding: 20px 24px; background: #fbfcfa; box-shadow: 0 15px 15px #1a344615; flex-direction: column; align-items: stretch; gap: 0; }
  .nav nav.open { display: flex; }
  .nav nav > a:not(.button) { padding: 12px 0; border-bottom: 1px solid #e3e9e4; }
  .nav nav .button { margin-top: 20px; padding: 15px 20px; }
}
@media (max-width: 1000px) {
  .case-copy { padding: 28px; }
  .case-copy :is(h2,h3) { font-size: 28px; }
  .case-image { min-height: 370px; }
  .customer-quote { padding: 25px; }
  .customer-quote blockquote { font-size: 21px; }
  .experience-grid { grid-template-columns: 1fr 1fr; }
  .case-narrative { gap: 40px; }
  .case-narrative h2 { font-size: 36px; }
}
@media (max-width: 850px) {
  .nav nav { top: 79px; }
  .case-feature { grid-template-columns: 1fr; }
  .case-image { min-height: 0; aspect-ratio: 16/9; }
  .case-copy { padding: 30px; }
  .case-copy :is(h2,h3) { max-width: 560px; }
  .case-copy > p:not(.eyebrow) { max-width: 620px; }
}
@media (max-width: 640px) {
  .nav nav { top: 74px; }
  .customer-stories .section-head h2 { font-size: 34px; }
  .customer-intro { margin-top: 24px; }
  .case-image { aspect-ratio: 4/3; }
  .case-play { bottom: 16px; left: 16px; padding: 9px 12px; font-size: 13px; gap: 8px; }
  .case-play > span { width: 25px; height: 25px; font-size: 21px; }
  .case-copy { padding: 25px; }
  .case-copy :is(h2,h3) { font-size: 28px; }
  .case-copy .eyebrow { font-size: 11px; }
  .customer-quote-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
  .customer-quote { padding: 24px; }
  .customer-quote-top { gap: 15px; }
  .customer-quote-top img { width: 52px; height: 52px; }
  .customer-quote blockquote { font-size: 21px; line-height: 1.6; }
  .experience-grid { grid-template-columns: 1fr; gap: 16px; }
  .experience-card { padding: 25px; }
  .customer-experiences { padding-top: 60px; }
  .customer-experiences .section-head h2 { font-size: 34px; }
  .customer-video figcaption { font-size: 13px; gap: 10px; }
  .case-narrative { grid-template-columns: 1fr; gap: 30px; margin-top: 45px; }
  .case-narrative h2 { font-size: 34px; }
  .case-related { flex-direction: column; align-items: flex-start; gap: 24px; }
  .case-related .button { gap: 16px; font-size: 14px; padding: 15px 17px; }
}

/* Original identities and complete customer statements. */
.customer-logo-row { display: grid; grid-template-columns: 160px repeat(4,minmax(0,1fr)); gap: 28px; padding-block: 28px; min-height: 150px; }
.customer-logo-row > p { min-width: 0; width: auto; font-size: 14px; line-height: 1.6; color: #405963; }
.customer-brand { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.customer-brand img { display: block; width: 58px; height: 58px; object-fit: contain; }
.customer-brand figcaption { font-size: 14px; font-weight: 600; line-height: 1.4; }
.testimonial-original { display: flex; flex-direction: column; margin: 0; padding: 30px; background: #fff; border: 1px solid #dce5df; border-radius: 7px; }
.testimonial-author { display: flex; align-items: center; gap: 24px; min-height: 100px; margin-bottom: 25px; }
.testimonial-author h3 { font-size: 21px; line-height: 1.4; letter-spacing: -.015em; white-space: pre-line; }
.testimonial-media { display: block; flex-shrink: 0; width: 100px; height: 80px; object-fit: contain; }
.testimonial-media--portrait { width: 76px; height: 100px; object-fit: contain; object-position: center; border-radius: 4px; }
.testimonial-original blockquote { margin: 0; color: #263e49; font-size: 16px; line-height: 1.85; letter-spacing: 0; white-space: pre-line; }
.original-testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.original-testimonials > .testimonial-original:last-child:nth-child(odd) { grid-column: 1/-1; }
.original-testimonials > .testimonial-original:last-child:nth-child(odd) blockquote { max-width: 960px; }
.course-customer-proof .testimonial-original { background: #f0f3f0; }
.course-customer-proof .testimonial-original blockquote { max-width: 960px; }
@media(max-width:900px) {
  .customer-logo-row { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
  .customer-logo-row > p { grid-column: 1/-1; text-align: center; }
  .testimonial-original { padding: 25px; }
  .testimonial-author { gap: 18px; }
  .testimonial-author h3 { font-size: 19px; }
  .testimonial-media { width: 80px; height: 70px; }
  .testimonial-media--portrait { width: 65px; height: 90px; }
}
@media(max-width:640px) {
  .customer-logo-row { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .customer-brand img { width: 58px; height: 58px; }
  .customer-brand figcaption { font-size: 13px; }
  .original-testimonials { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-original { padding: 24px; }
  .testimonial-author { gap: 18px; min-height: 90px; margin-bottom: 22px; }
  .testimonial-author h3 { font-size: 19px; }
  .testimonial-original blockquote { font-size: 16px; line-height: 1.8; }
}

/* Keep customer evidence prominent without duplicate labels or decoration. */
.customer-stories .section-head { align-items: center; }
.customer-intro { margin-top: 0; }
.case-copy { justify-content: center; }
.case-copy > p:not(.eyebrow) { margin-bottom: 24px; }
.case-copy .text-link { margin-top: 0; }
.case-image:hover img { transform: none; }
.case-play { border-radius: 4px; }
.case-narrative h2 { margin-top: 0; }
.customer-hub-feature { padding-bottom: 0; }
.customer-experiences { padding-top: 60px; }
@media(max-width:640px) { .customer-intro { margin-top: 18px; } .case-play { font-size: 14px; } }

/* The customer film belongs on the references page. */
.customer-stories .original-home-quotes { margin-top: 0; }
.reference-video { padding: 24px; background: #172e3b; }
.reference-video video { max-width: 260px; max-height: 460px; margin-inline: auto; }
.reference-video figcaption { justify-content: center; padding-top: 16px; }
.reference-video figcaption a { color: #fff; }

.customer-website { display: flex; justify-content: center; align-items: center; min-height: 44px; }
.testimonial-author-link { display: flex; align-items: center; gap: inherit; min-height: 44px; width: 100%; }
.testimonial-author-link h3 { text-decoration: underline; text-underline-offset: .2em; }
