/* Responsive safeguards for NorrScale's longer Norwegian homepage copy. */
html,
body {
  overflow-x: clip;
}

@media screen and (max-width: 767px) {
  .section_hero .vertical-center,
  .section_hero h1[hero-text],
  .section_hero .max-width-medium {
    width: 100%;
    max-width: 100%;
  }

  .section_hero h1[hero-text] {
    font-size: 2.125rem;
    line-height: 1.08;
    letter-spacing: -0.045em;
  }

  .section_hero .max-width-medium [hero-text] {
    max-width: 22rem;
    margin-inline: auto;
    padding-inline: 0.25rem;
  }
}

/* Keep the approved proof metrics readable as complete units. */
.section_about .about_card-float .text-wrap {
  flex-wrap: nowrap;
}

.section_about .about_card-float .text-wrap .text-5xl {
  white-space: nowrap;
}

.section_about .about_card-float .text-wrap .text-5xl + .text-5xl {
  word-spacing: 0.12em;
}

.section_about .card_about.bg-green .text-wrap .text-4xl + .text-4xl {
  margin-left: 0.2em;
}

/* One transparent, result-based pricing model instead of template packages. */
.norr-pricing-offer {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 2rem;
  background: #f1f1f1;
}

.norr-pricing-offer__intro,
.norr-pricing-offer__details {
  border-radius: 1.5rem;
}

.norr-pricing-offer__intro {
  display: flex;
  min-height: 38rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  padding: clamp(2rem, 4vw, 4rem);
  background: #d6fd70;
}

.norr-pricing-offer__intro h3 {
  max-width: 9em;
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.norr-pricing-offer__intro p {
  max-width: 31rem;
  font-size: 1.125rem;
  line-height: 1.55;
}

.norr-pricing-offer__label {
  width: fit-content;
  padding: 0.65rem 0.85rem;
  border-radius: 0.6rem;
  background: #111;
  color: #d6fd70;
  text-transform: uppercase;
}

.norr-pricing-offer__promise {
  display: grid;
  gap: 0.65rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(17, 17, 17, 0.22);
}

.norr-pricing-offer__details {
  padding: clamp(1.5rem, 3vw, 3rem);
  background: #fff;
}

.norr-pricing-step {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid #dedede;
}

.norr-pricing-step:first-child {
  padding-top: 0;
}

.norr-pricing-step__number {
  display: flex;
  width: 3.25rem;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: #111;
  color: #d6fd70;
}

.norr-pricing-step h3 {
  margin-bottom: 0.65rem;
}

.norr-pricing-step p {
  max-width: 37rem;
  line-height: 1.55;
}

.norr-pricing-offer__terms {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2rem;
}

.norr-pricing-offer__terms p {
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #666;
}

@media screen and (max-width: 991px) {
  .norr-pricing-offer {
    grid-template-columns: 1fr;
  }

  .norr-pricing-offer__intro {
    min-height: 30rem;
  }
}

@media screen and (max-width: 767px) {
  .norr-pricing-offer {
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 1.5rem;
  }

  .norr-pricing-offer__intro,
  .norr-pricing-offer__details {
    border-radius: 1.1rem;
  }

  .norr-pricing-offer__intro {
    min-height: 0;
    padding: 2rem 1.35rem;
  }

  .norr-pricing-offer__intro h3 {
    font-size: 2.5rem;
  }

  .norr-pricing-offer__details {
    padding: 1.75rem 1.25rem;
  }

  .norr-pricing-step {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1.5rem 0;
  }

  .norr-pricing-step__number {
    width: 2.75rem;
    height: 2.75rem;
  }

  .norr-pricing-offer__terms {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Deliberately image-free testimonial frames until verified customer media arrives. */
.norr-testimonial-placeholder {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(214, 253, 112, 0.14), transparent 29%),
    linear-gradient(145deg, #343434 0%, #222 52%, #111 100%);
}

.norr-testimonial-media-slot {
  position: absolute;
  inset: 1rem;
  z-index: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 1.15rem;
  color: rgba(255, 255, 255, 0.62);
  text-transform: uppercase;
}

.norr-testimonial-placeholder .card-black-gradient {
  z-index: 1;
}

.norr-testimonial-placeholder .testimonial_card-container {
  z-index: 2;
}

.norr-testimonial-quote {
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.45;
}

.norr-testimonial-source {
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

/* Empty media frames: the original template geometry stays intact until the
   real team and customer photography is supplied. */
.norr-team-placeholder,
.norr-team-detail-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 20%, rgba(214, 253, 112, 0.26), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(53, 181, 238, 0.18), transparent 34%),
    linear-gradient(145deg, #dedede 0%, #cfcfcf 100%);
}

.norr-team-placeholder__inner {
  box-sizing: border-box;
  width: calc(100% - 2rem);
  height: calc(100% - 2rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px dashed rgba(17, 17, 17, 0.3);
  border-radius: 1rem;
  color: rgba(17, 17, 17, 0.62);
  text-transform: uppercase;
}

.norr-team-placeholder {
  display: block;
}

.norr-team-placeholder .norr-team-placeholder__inner {
  position: absolute;
  inset: 1rem;
  width: auto;
  height: auto;
}

.norr-team-placeholder__inner strong {
  color: #111;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 500;
  text-transform: none;
}

.norr-team-social-placeholder {
  opacity: 0.52;
  pointer-events: none;
}

.norr-service-testimonial-media {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1.25rem;
  border: 1px dashed rgba(255, 255, 255, 0.32);
  border-radius: inherit;
  background:
    radial-gradient(circle at 78% 18%, rgba(214, 253, 112, 0.16), transparent 30%),
    linear-gradient(145deg, #363636 0%, #171717 68%, #0e0e0e 100%);
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media screen and (max-width: 767px) {
  .norr-testimonial-media-slot {
    inset: 0.75rem;
    padding: 0.8rem;
    border-radius: 1rem;
  }

  .norr-testimonial-quote {
    font-size: 1rem;
    line-height: 1.4;
  }
}

/* Blog placeholders preserve the template's media geometry without presenting
   unpublished articles or stock photography as real editorial content. */
.norr-blog-intro {
  max-width: 48rem;
}

.norr-blog-placeholder {
  position: relative;
  isolation: isolate;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 78% 18%, rgba(214, 253, 112, 0.22), transparent 28%),
    radial-gradient(circle at 18% 82%, rgba(53, 181, 238, 0.2), transparent 34%),
    linear-gradient(145deg, #292929 0%, #171717 58%, #0d0d0d 100%);
  color: #fff;
}

.norr-blog-placeholder::before,
.norr-blog-coming__media::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 2rem 2rem;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.norr-blog-placeholder__slot {
  position: absolute;
  inset: 1rem;
  z-index: 1;
  padding: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.norr-blog-placeholder__content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 5rem 1.5rem 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.92));
}

.norr-blog-placeholder__eyebrow,
.norr-blog-coming__eyebrow {
  margin-bottom: 0.75rem;
  color: #d6fd70;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.norr-blog-placeholder h3 {
  margin: 0;
  line-height: 1.18;
}

.norr-blog-page-hero .max-width-medium {
  max-width: 42rem;
}

.norr-blog-page-content {
  padding-bottom: 0.01rem;
}

.norr-blog-coming {
  padding: clamp(1.25rem, 2.5vw, 2.5rem);
  border-radius: 2rem;
  background: #f1f1f1;
}

.norr-blog-coming__header {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  align-items: end;
  gap: 3rem;
}

.norr-blog-coming__header h2,
.norr-blog-coming__header p {
  margin: 0;
}

.norr-blog-coming__tag {
  width: fit-content;
}

.norr-blog-coming__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.norr-blog-coming__card {
  min-width: 0;
  overflow: hidden;
  border-radius: 1.35rem;
  background: #fff;
}

.norr-blog-coming__media {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  aspect-ratio: 1 / 1;
  margin: 0.55rem;
  padding: 1rem;
  overflow: hidden;
  border: 1px dashed rgba(255, 255, 255, 0.32);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 82% 16%, rgba(214, 253, 112, 0.2), transparent 28%),
    linear-gradient(145deg, #303030, #111);
  color: rgba(255, 255, 255, 0.62);
  text-transform: uppercase;
}

.norr-blog-coming__media > * {
  position: relative;
  z-index: 1;
}

.norr-blog-coming__number {
  color: #d6fd70;
}

.norr-blog-coming__card-copy {
  padding: 1.25rem 1.25rem 1.6rem;
}

.norr-blog-coming__card-copy h3 {
  margin: 0;
  font-size: clamp(1.35rem, 1.75vw, 1.85rem);
  line-height: 1.15;
}

@media screen and (max-width: 991px) {
  .norr-blog-coming__header {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .norr-blog-coming__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .norr-blog-placeholder__slot {
    inset: 0.75rem;
    padding: 0.8rem;
  }

  .norr-blog-placeholder__content {
    padding: 4rem 1.25rem 1.25rem;
  }

  .norr-blog-coming {
    padding: 0.6rem;
    border-radius: 1.5rem;
  }

  .norr-blog-coming__header {
    padding: 1.1rem 0.75rem 0;
  }

  .norr-blog-coming__grid {
    grid-template-columns: 1fr;
  }
}
