/* Photography and clearly labelled illustrations for the theme pages. */
.photo-section{
  padding-top:104px;
  padding-bottom:104px
}
.subpage-story+.photo-section{
  padding-top:0
}
.photo-section-heading{
  max-width:760px
}
.photo-section-heading h2{
  margin-top:14px;
  text-wrap:balance
}
.photo-section-heading>p{
  margin-top:18px;
  color:var(--muted);
  font-size:var(--size-body);
  line-height:30px
}
.photo-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px;
  margin-top:36px
}
.photo-grid figure{
  min-width:0;
  margin:0
}
.photo-grid img{
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  object-fit:cover;
  object-position:center;
  border-radius:16px
}
.photo-grid figcaption{
  padding-top:20px
}
.photo-grid figcaption p{
  margin-top:8px;
  color:var(--muted);
  font-size:var(--size-body);
  line-height:26px
}
.idea-section{
  padding:104px 0;
  background:var(--purple);
  color:#fff
}
.idea-heading{
  max-width:760px
}
.idea-heading h2{
  margin-top:14px;
  text-wrap:balance
}
.idea-heading>p{
  margin-top:18px;
  color:var(--on-dark-muted);
  font-size:var(--size-body);
  line-height:30px
}
.idea-images{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
  margin-top:40px
}
.idea-images figure{
  min-width:0;
  margin:0
}
.idea-image{
  position:relative
}
.idea-images img{
  width:100%;
  height:auto;
  aspect-ratio:auto;
  object-fit:contain;
  border-radius:14px
}
.idea-images figcaption{
  padding-top:18px
}
.idea-images figcaption p{
  color:var(--on-dark-muted);
  font-size:var(--size-body);
  line-height:26px
}
.hero-image.photo-hero{
  object-position:center 25%;
  clip-path:polygon(0 0,100% 0,100% 84%,82% 84%,82% 92%,70% 92%,70% 100%,12% 100%,12% 92%,0 92%)
}
@media(max-width:1000px){
  .photo-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:32px 24px
  }
}
@media(max-width:800px){
  .hero-image.photo-hero{
    aspect-ratio:1;
    height:auto
  }
  .photo-section{
    padding-top:72px;
    padding-bottom:72px
  }
  .subpage-story+.photo-section{
    padding-top:0
  }
  .photo-section-heading>p,
  .idea-heading>p{
    font-size:var(--size-body);
    line-height:28px
  }
  .photo-grid{
    margin-top:32px
  }
  .idea-section{
    padding:72px 0
  }
  .idea-images{
    gap:24px;
    margin-top:32px
  }
}
@media(max-width:699px){
  .photo-grid,
  .idea-images{
    grid-template-columns:minmax(0,1fr);
    gap:32px
  }
  .photo-grid figcaption{
    padding-top:16px
  }
}
@media(max-width:520px){
  .photo-section{
    padding-top:56px;
    padding-bottom:56px
  }
  .subpage-story+.photo-section{
    padding-top:0
  }
  .photo-section-heading>p,
  .idea-heading>p{
    margin-top:16px
  }
  .photo-grid{
    margin-top:28px
  }
  .photo-grid img{
    border-radius:14px
  }
  .idea-section{
    padding:56px 0
  }
  .idea-images{
    margin-top:28px
  }
}

.product-section{
  padding-block:clamp(56px, 8vw, 104px);
  background:var(--card)
}
.product-section .photo-section-heading{
  max-width:740px
}
.product-section .product-grid{
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:28px 20px
}
.product-section .product-grid img{
  border-radius:12px
}
.product-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:16px 24px;
  margin-top:32px
}
.product-actions .button{
  white-space:normal;
  text-align:center
}
.product-actions .text-link{
  min-height:44px;
  margin-top:0
}
.catalog-intro{
  padding-block:clamp(28px,4vw,44px)
}
.catalog-intro .hero-description{
  max-width:64ch;
  margin-top:16px;
  line-height:1.65
}
.catalog-list{
  padding-block:clamp(32px,4vw,56px) clamp(48px,6vw,76px)
}
.catalog-note{
  display:inline-block;
  margin-bottom:28px;
  padding:12px 16px;
  border-radius:8px;
  background:var(--on-dark-muted);
  color:var(--purple)
}
.catalog-section + .catalog-section{
  margin-top:clamp(40px,6vw,76px)
}
.catalog-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  margin-top:20px
}
.catalog-card{
  min-width:0;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--card)
}
.catalog-image{
  width:100%;
  height:auto;
  aspect-ratio:16/10;
  object-fit:cover
}
.catalog-card{
  display:flex;
  flex-direction:column;
  scroll-margin-top:24px
}
.catalog-card-copy{
  display:flex;
  flex:1;
  flex-direction:column
}
.catalog-card-copy h2{
  font-size:var(--size-card-title);
  line-height:1.35
}
.catalog-card-copy .text-link{
  margin-top:auto;
  padding-top:20px
}
.catalog-examples{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:16px 0 0;
  padding:0;
  list-style:none
}
.catalog-examples li{
  padding:4px 12px;
  border-radius:999px;
  background:#eee9ff;
  color:var(--purple);
  font-size:var(--size-small);
  line-height:22px
}
.catalog-more{
  max-width:64ch;
  margin-top:clamp(32px,4vw,48px);
  color:var(--muted)
}
.catalog-more .text-link{
  margin-top:8px
}
.catalog-placeholder{
  display:grid;
  place-content:center;
  justify-items:center;
  gap:8px;
  background:var(--on-dark-muted);
  color:var(--purple)
}
.catalog-placeholder .icon{
  width:34px;
  height:34px
}
.catalog-card-copy{
  padding:20px clamp(16px,2vw,24px)
}
.catalog-card-copy p{
  margin-top:8px;
  color:var(--muted)
}
@media(max-width:620px){
  .catalog-grid{
    grid-template-columns:minmax(0,1fr)
  }
}
@media(max-width:1024px){
  .product-section .product-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr))
  }
}
@media(max-width:520px){
  .product-section .product-grid{
    grid-template-columns:minmax(0, 1fr)
  }
}

/* Personvern */
.legal-content{
  max-width:72ch;
  padding-block:clamp(32px,5vw,64px) clamp(56px,8vw,104px)
}
.legal-content h2{
  margin-top:40px;
  font-size:var(--size-card-title);
  line-height:1.35
}
.legal-content h2:first-child{
  margin-top:0
}
.legal-content p{
  margin-top:12px;
  color:var(--muted);
  line-height:1.7
}
.legal-content a{
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:3px
}
