/* ============ Om ============ */
/* The team: equal portraits, each with name, title and line always shown. Every portrait is black and white and cut
   the same (3:4, eyes on one line, the same head size), so no one stands out. Four across where there is room, so seven
   stand as four and three, two on a tablet, and one to a row beside the text on a phone. The reading order is always
   name, title, line */
.hold__liste{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:1px;row-gap:0;margin-top:var(--luft-ind)}
.hold__person{display:grid;grid-row:span 4;grid-template-rows:subgrid;row-gap:0;align-content:start;min-width:0;padding-bottom:56px}
/* The last row ends on the list, whatever the count */
@media (min-width:1200px){.hold__person:nth-child(4n+1):nth-last-child(-n+4),.hold__person:nth-child(4n+1):nth-last-child(-n+4)~.hold__person{padding-bottom:0}}
@supports not (grid-template-rows:subgrid){.hold__person{display:flex;flex-direction:column}}
.hold__foto{order:-1;grid-row:1;position:relative;aspect-ratio:4/5;overflow:hidden;border-radius:6px;background:var(--plint)}
.hold__foto img{display:block;width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.04)}
/* A hairline inside the frame, so a light background never melts into the white page */
.hold__foto::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(13,23,54,.08);pointer-events:none}
.hold__navn{margin-top:20px;font-size:clamp(17px,1.25vw,21px);font-weight:600;letter-spacing:-.018em;line-height:1.2;text-wrap:balance}
.afsnit .hold__titel{margin-top:4px;font-size:14px;line-height:1.4;color:var(--daempet)}
.afsnit .hold__bio{margin-top:12px;padding-top:12px;border-top:1px solid var(--linje);font-size:clamp(14px,1vw,15.5px);line-height:1.5;color:var(--nat);max-width:28em;text-wrap:pretty}
@media (max-width:1199px){.hold__liste{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:641px) and (max-width:1199px){.hold__person:nth-child(2n+1):nth-last-child(-n+2),.hold__person:nth-child(2n+1):nth-last-child(-n+2)~.hold__person{padding-bottom:0}}
@media (max-width:640px){
  .hold__navn{margin-top:12px;font-size:16.5px}
  .afsnit .hold__titel{font-size:13.5px}
  .afsnit .hold__bio{margin-top:8px;padding-top:8px;font-size:14px}
}


/* The team comes up close under the page head, so the portraits are in the first screen */
.afsnit.hold{padding-top:clamp(64px,6.4vw,104px)}
/* ---------- Om: the chores are struck out one at a time, and it starts over when one comes back ---------- */
.om-aabning{position:relative;color:var(--nat);padding:0 0 clamp(48px,5vw,80px)}
.om-aabning__kort{padding:clamp(24px,3vw,48px) clamp(22px,3.4vw,56px) clamp(26px,3vw,44px)}
.om-aabning>.ramme{position:relative}
.om-aabning__saa{margin-top:0;font-size:var(--t-ingress);letter-spacing:-.02em;color:var(--daempet)}
.om-gentag{list-style:none;margin-top:10px;border-bottom:1px solid var(--linje)}
.om-gentag li{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--sp);align-items:baseline;padding:clamp(10px,1vw,15px) 0;border-top:1px solid var(--linje)}
.om-gentag s{grid-column:1/span 6;position:relative;justify-self:start;text-decoration:none;font-size:clamp(22px,2.1vw,30px);font-weight:500;line-height:1.1;letter-spacing:-.034em;color:var(--daempet)}
.om-gentag s::after{content:"";position:absolute;left:-.04em;right:-.04em;top:54%;height:max(2px,.055em);background:currentColor;transform-origin:left}
.om-gentag span{grid-column:7/-1;font-size:var(--t-ingress);line-height:1.3;letter-spacing:-.014em;color:var(--nat)}
.om-aabning__derfor{margin-top:clamp(20px,2.2vw,32px);font-size:var(--t-h2);font-weight:500;line-height:1.04;letter-spacing:-.04em}
.om-aabning__note{margin-top:14px;max-width:44em;font-size:15.5px;line-height:1.5;color:var(--daempet)}
.om-aabning__note a{color:var(--kobolt-dyb);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.22em;white-space:nowrap}
@media (prefers-reduced-motion:no-preference){
  .js [data-om-scene] .om-gentag s{color:var(--nat);transition:color .3s var(--ud) calc(var(--i) * 620ms + 350ms)}
  .js [data-om-scene] .om-gentag s::after{transform:scaleX(0);transition:transform .34s var(--rolig) calc(var(--i) * 620ms + 300ms)}
  .js [data-om-scene] .om-gentag span{opacity:0;translate:0 7px;transition:opacity .28s var(--ud) calc(var(--i) * 620ms + 520ms),translate .36s var(--ud) calc(var(--i) * 620ms + 520ms)}
  .js [data-om-scene] .om-aabning__derfor{opacity:0;translate:0 10px;transition:opacity .3s var(--ud) 2.35s,translate .42s var(--ud) 2.35s}
  .js [data-om-scene] .om-aabning__derfor .sol{scale:0;transition:scale .36s var(--fjeder) 2.7s}
  .js [data-om-scene].spil .om-gentag s{color:var(--daempet)}
  .js [data-om-scene].spil .om-gentag s::after{transform:scaleX(1)}
  .js [data-om-scene].spil .om-gentag span,.js [data-om-scene].spil .om-aabning__derfor{opacity:1;translate:0 0}
  .js [data-om-scene].spil .om-aabning__derfor .sol{scale:1}
  /* Leaving resets at once and silently, so the next visit starts from the beginning */
  .js [data-om-scene]:not(.spil) *,.js [data-om-scene]:not(.spil) *::after{transition-duration:0s;transition-delay:0s}
}
@media (max-width:760px){.om-gentag s,.om-gentag span{grid-column:1/-1}.om-gentag span{margin-top:5px}}
/* The team as one wall: four portraits to a row edge to edge across the whole window, nothing to press. Black and white, the same
   cut, and the same order on every visit. The text stands under each portrait, parted by the same hairline as the
   photos, and the wall comes up in one quick sweep each time it comes back into view */
.hold{padding-bottom:var(--luft)}
.hold .hoved h2{font-size:var(--t-h2);max-width:10em}
.hold__liste{column-gap:1px;margin-top:clamp(36px,4vw,64px);border-top:1px solid var(--nat)}
.hold__person>:not(.hold__foto){padding-right:clamp(10px,1.1vw,18px)}
.hold__foto{border-radius:0;background:var(--nat)}
.hold__foto::after{display:none}
.hold__foto img{filter:grayscale(1) contrast(1.08)}
.hold__navn{margin-top:clamp(14px,1.4vw,22px);font-size:clamp(18px,1.55vw,26px);line-height:1.1;letter-spacing:-.026em}
.afsnit .hold__bio{margin-top:10px;padding-top:0;border-top:0;font-size:clamp(14px,1vw,16px);color:var(--daempet)}
/* The uneven cases: the page's biggest sentence, then one case at a time in a cell as tall as the tallest. A ruled list without the script */
.om-skaev{isolation:isolate}
main .om-skaev{background:#fff;color:var(--nat);padding-top:0}
.om-skaev__gitter{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--sp);align-items:start}
.om-skaev .om-skaev__gitter h2{font-size:var(--t-h2)}
.om-skaev__t{grid-column:1/span 4}
.om-skaev__hoved{margin-top:14px}
.afsnit .om-skaev__hoved p{font-size:var(--t-ingress);line-height:1.5;color:var(--daempet)}
.om-tilfaelde{grid-column:6/-1;list-style:none;border-bottom:1px solid var(--linje)}
.om-tilfaelde li{padding:clamp(14px,1.5vw,22px) 0;border-top:1px solid var(--linje)}
.afsnit .om-hvis{font-size:clamp(19px,1.6vw,24px);font-weight:600;line-height:1.25;letter-spacing:-.02em;color:var(--nat);max-width:none;text-wrap:balance}
.afsnit .om-saa{margin-top:4px;font-size:clamp(16.5px,1.2vw,18px);line-height:1.4;color:var(--daempet);max-width:none}
@media (max-width:899px){.om-skaev__t,.om-tilfaelde{grid-column:1/-1}.om-tilfaelde{margin-top:28px}}

/* Om closes on the page's own idea: the visitor's worst shift, which goes with them to the demo form */
/* The close is the same as on the other pages: the big mark, a line and the two buttons */
/* A phone keeps the room under the text that the big mark needs */

.om-aabning__derfor .hel{white-space:nowrap}
/* A phone lists the team one person to a row, the photo beside the text, so a bio reads at a full line's width
   instead of two narrow columns. Same order, same size for everyone */
@media (max-width:640px){
  .hold__liste{display:block}
  .hold__liste>.hold__person:nth-child(n){display:grid;grid-template-columns:clamp(96px,29vw,120px) minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:16px;align-content:start;padding:16px 0;border-bottom:1px solid var(--linje)}
  .hold__foto{grid-column:1;grid-row:1/span 3;align-self:start}
  .hold__person>:not(.hold__foto){grid-column:2;padding-right:0}
  .hold__navn{margin-top:0;font-size:18px}
  .afsnit .hold__titel{font-size:14px}
  .afsnit .hold__bio{margin-top:8px;font-size:15px;line-height:1.45}
}

/* The head names the place, so the building stands in it: on the team's own columns (the last of four, the last of
   two), black and white and cut square like the portraits, with a name and a line under it as a person has. It ends on
   the same line as the text, just above the rule, so it reads as part of the wall instead of a picture after it */
.hold .hoved{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:1fr auto;column-gap:1px;row-gap:0;align-items:end}
.hold .hoved h2{grid-column:1/span 3;grid-row:1}
.hold .hoved .ingress{grid-column:1/span 3;grid-row:2;margin-top:clamp(16px,1.6vw,24px);padding-bottom:0}
.hold__sted{grid-column:4;grid-row:1/span 2;margin:0}
.hold__sted img{display:block;width:100%;height:auto;aspect-ratio:1600/961;object-fit:cover;background:var(--nat);filter:grayscale(1) contrast(1.08)}
.hold__kort{display:block;overflow:hidden}
.hold__kort img{transition:filter .25s ease,transform .4s ease}
.hold__kort:hover img{filter:grayscale(0) contrast(1);transform:scale(1.02)}
@media (prefers-reduced-motion:reduce){.hold__kort img{transition:none}.hold__kort:hover img{transform:none}}
.hold__sted figcaption{margin-top:12px;padding-right:clamp(10px,1.1vw,18px)}
.hold__sted b{display:block;font-size:clamp(15px,1.1vw,17px);font-weight:600;letter-spacing:-.016em;line-height:1.2}
.hold__sted span{display:block;margin-top:2px;font-size:14px;line-height:1.4;color:var(--daempet)}
@media (max-width:1199px){
  .hold .hoved{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hold .hoved h2,.hold .hoved .ingress{grid-column:1;padding-right:var(--sp)}
  .hold__sted{grid-column:2}
}
@media (max-width:640px){
  .hold .hoved{display:block}
  .hold .hoved h2,.hold .hoved .ingress{padding-right:0}
  .hold__sted{display:grid;grid-template-columns:minmax(0,11fr) minmax(0,9fr);column-gap:16px;align-items:end;margin-top:24px}
  .hold__sted img{aspect-ratio:4/3}
  .hold__sted figcaption{margin-top:0;padding-right:0}
}

/* In the subpage frame (BEM-3281): the opening is a card pulled up into the deep top, and the team follows it */
.afsnit.hold{padding-top:var(--luft)}
.hold .hoved h2{max-width:none}
.hold .hoved h2 span{color:var(--daempet)}
.hold__navn{font-weight:500}
.om-skaev .om-skaev__gitter h2 span{color:var(--daempet)}
.afsnit .om-hvis{font-weight:500}
main .om-skaev{padding-top:var(--luft)}
.om-skaev__t{grid-column:1/span 5}
.om-tilfaelde{grid-column:7/-1}
@media (max-width:899px){.om-skaev__t,.om-tilfaelde{grid-column:1/-1}}
