/* AnatoTech subpages (simulatorn, pilot, om-oss, press, jobba-hos-oss and the document pages), built by tools/pages/build.py on top of the
   start page's direction A (assets/a.css): the same header, footer, type scale, bands and components. Only what the
   start page does not already have lives here. Both languages are in the page as .lv blocks; assets/l.js sets
   <html lang> before the first frame and this file shows the matching block. */

html:not([lang=en]) .lv[lang=en],html[lang=en] .lv[lang=sv]{display:none}
/* a heading for screen readers only */
.sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* page opening: the page's name, a headline, the lead and the buttons, with a picture or clip beside it */
.ph{padding:72px 0 88px}
.ph .wrap{display:grid;grid-template-columns:5fr 7fr;gap:64px;align-items:center}
.ph .wrap.solo{grid-template-columns:minmax(0,820px)}
.ph .k{font-size:15px;color:var(--ink-2);margin-bottom:18px}
.ph h1{max-width:15ch}
.ph .lead{max-width:44ch}
.ph .note{max-width:52ch;margin-top:36px;padding-top:14px;border-top:1px solid var(--line);font-size:14px;color:var(--ink-2)}
.ph figure{margin:0;min-width:0}
.ph figure img{width:100%;aspect-ratio:16/10;object-fit:cover;border:1px solid var(--line);border-radius:var(--r);background:var(--deep)}
.ph .clip video{aspect-ratio:16/10}

/* headings and text inside sections */
.sec h3{font-size:21px;line-height:1.3;margin-bottom:8px}
.sec p+p{margin-top:14px}
.muted{color:var(--ink-2)}
.small{font-size:14px;color:var(--ink-2)}
.acts.mt{margin-top:32px}
.tl.mt{display:inline-block;margin-top:20px}
.mt{margin-top:24px}
.planes .monitor{max-width:560px}
.planes .screens.two{grid-template-columns:1fr 1fr}
.split .clips{margin-top:0}

/* the film opening (Himan's direction A, 22 Nov 2026): a clip or still from the simulator fills the full width and the
   headline sits on it, like the start page's film */
.ph.film{position:relative;min-height:min(86vh,840px);display:flex;align-items:flex-end;padding:120px 0 80px;overflow:hidden;background:var(--deep);border-bottom:1px solid var(--line)}
.ph.film .bg{position:absolute;inset:0}
.ph.film .bg video,.ph.film .bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% 45%;border:0;border-radius:0;background:none}
/* a picture on black (the fluoroscopy image, the bone from the start page film): whole, on the right */
.ph.film .bg.dark{background:#000}
.ph.film .bg.bone{background:#07080A} /* the edge colour of the film still */
/* the bone keeps its own proportions and its edges fade into the ground, so the still shows no frame */
.ph.film .bg.bone img{inset:0 7% 0 auto;width:auto;height:100%;aspect-ratio:1000/1508;object-fit:cover;padding:0;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent),linear-gradient(180deg,transparent,#000 10%,#000 72%,transparent);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent),linear-gradient(180deg,transparent,#000 10%,#000 72%,transparent);mask-composite:intersect}
.ph.film .bg.dark img{object-fit:contain;object-position:88% 50%;padding:40px 0}
.ph.film .bg::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(12,14,16,.94) 0%,rgba(12,14,16,.78) 30%,rgba(12,14,16,.15) 62%,rgba(12,14,16,0) 75%),
             linear-gradient(0deg,rgba(12,14,16,.85) 0%,rgba(12,14,16,0) 40%)}
.ph.film .wrap{display:block;position:relative;z-index:1;width:100%}
.ph.film h1{font-size:clamp(46px,5.6vw,84px);line-height:1;letter-spacing:-.035em;max-width:12ch}
.ph.film h1.long{font-size:clamp(36px,4.2vw,62px);line-height:1.05;max-width:20ch}
.ph.film .k{color:#C3CBD1}
.ph.film .lead{font-size:20px;max-width:36ch;color:#C3CBD1}
.ph.film .upd{font-size:14px;color:#AEB7BE;margin:-6px 0 22px}
.ph.film .note{color:#AEB7BE;border-top-color:rgba(231,234,236,.16)}
.ph.film .pp{position:absolute;right:0;bottom:0;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid rgba(231,234,236,.28);background:rgba(12,14,16,.45);color:var(--ink);cursor:pointer}
.ph.film .pp:hover{border-color:var(--ink)}
.ph.film .pp svg{width:16px;height:16px;fill:currentColor}
.pp .i-play,.pp.paused .i-pause{display:none}
.pp.paused .i-play{display:inline}

/* the procedure in four parts: a picture from the simulator beside each part's steps */
.phases{display:grid;gap:88px;margin-top:56px}
.phase{display:grid;grid-template-columns:6fr 6fr;gap:64px;align-items:start}
.phase:nth-child(even) figure{order:2}
.phase figure{margin:0;min-width:0;position:sticky;top:96px}
.phase figure img{width:100%;aspect-ratio:16/10;object-fit:cover;border:1px solid var(--line);border-radius:var(--r);background:var(--deep)}
.phase figure.xray img{object-fit:contain;background:#000}
.phase figcaption{font-size:13px;color:var(--ink-2);margin-top:12px}
.phase .range{font-size:14px;color:var(--ink-2);margin-bottom:6px}
.steps{list-style:none;margin:20px 0 0;padding:0}
.steps li{display:grid;grid-template-columns:36px 1fr;gap:12px;padding:16px 0;border-top:1px solid var(--line)}
.steps li:last-child{border-bottom:1px solid var(--line)}
.steps .n{font:500 15px/1.6 var(--head);color:var(--ink-2)}
.steps b{display:block;font-weight:500;color:var(--ink);margin-bottom:2px}
.steps p{color:var(--ink-2)}

/* two columns: a heading on the left, the content on the right */
.split{display:grid;grid-template-columns:4fr 8fr;gap:64px;align-items:start}
.split>div{min-width:0}
.split .intro{margin-bottom:0}

/* cards: what the clinic gets / what we ask, roles, principles */
.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.cards.c3{grid-template-columns:repeat(3,minmax(0,1fr))}
.card{padding:28px;border:1px solid var(--line);border-radius:var(--r);background:var(--bg-2)}
.band .card{background:var(--bg)}
.card h3{margin-bottom:10px}
.card p{color:var(--ink-2)}
.card .acts{margin-top:24px}

/* a plain list with hairlines */
.list{list-style:none;margin:16px 0 0;padding:0}
.list li{padding:12px 0;border-top:1px solid var(--line);color:var(--ink-2)}
.list li:last-child{border-bottom:1px solid var(--line)}
.card .list li:last-child{border-bottom:0;padding-bottom:0}

/* the way in for a clinic: four short steps side by side */
.flow{list-style:none;margin:40px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--line)}
.flow li{padding:24px 24px 0 0}
.flow li+li{padding-left:24px;border-left:1px solid var(--line)}
.flow .n{display:block;font:500 15px/1 var(--head);color:var(--ink-2);margin-bottom:14px}
.flow b{display:block;font:500 19px/1.3 var(--head);margin-bottom:6px}
.flow p{color:var(--ink-2)}

/* questions and answers */
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:20px;padding:20px 0;font:500 18px/1.4 var(--head)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font:400 22px/1 var(--sans);color:var(--ink-2)}
.faq details[open] summary::after{content:"–"}
.faq details p{color:var(--ink-2);max-width:62ch;padding:0 0 22px}

/* the founder */
.person{display:grid;grid-template-columns:4fr 8fr;gap:64px;align-items:center}
.person figure{margin:0}
.person img{width:100%;max-width:420px;aspect-ratio:4/5;object-fit:cover;border-radius:2px}
.person .role{font-size:15px;color:var(--ink-2);margin-bottom:20px}
.person p{color:var(--ink-2);max-width:56ch}

/* news */
.news{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.news li{display:grid;grid-template-columns:4fr 8fr;gap:64px;padding:28px 0;border-bottom:1px solid var(--line)}
.news time{font:500 19px/1.4 var(--head)}
.news b{display:block;font:500 21px/1.35 var(--head);margin-bottom:6px}
.news p{color:var(--ink-2);max-width:56ch}

/* press kit */
.kit{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}
.kit figure{margin:0;min-width:0}
.kit img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border:0;border-radius:6px;background:var(--deep)}
.kit .logo{display:grid;place-items:center;aspect-ratio:16/10;border:0;border-radius:6px;background:var(--deep)} /* the cream mark needs the dark ground */
.kit .logo img{width:34%;height:auto;aspect-ratio:1;border:0;background:none;object-fit:contain}
.kit figcaption{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:14px;margin-top:12px}
.kit figcaption span{color:var(--ink-2)}
.kit figcaption a{color:var(--ink);text-decoration:none;border-bottom:1px solid var(--ink-2)}
.kit figcaption a+a{margin-left:12px}

@media (max-width:900px){
  .ph{padding:44px 0 60px}
  .ph .wrap,.phase,.split,.person,.news li{grid-template-columns:1fr;gap:28px}
  .phases{gap:64px;margin-top:40px}
  .phase:nth-child(even) figure{order:0}
  .phase figure{position:static}
  .cards,.cards.c3,.kit{grid-template-columns:1fr}
  .flow{grid-template-columns:1fr 1fr}
  .flow li{padding:20px 12px 20px 0}
  .flow li+li{padding-left:12px}
  .flow li:nth-child(3){border-left:0;padding-left:0;border-top:1px solid var(--line)}
  .flow li:nth-child(4){border-top:1px solid var(--line)}
  .card{padding:22px}
  .person img{max-width:300px}
  .news li{gap:6px}
  .faq summary{font-size:17px}
}
@media (max-width:820px){
  .ph .clip video{aspect-ratio:4/5}
  /* phones: the picture on top, the text below it on the dark ground, so the text never sits on a bright part */
  .ph.film{display:block;min-height:0;padding:0 0 44px}
  .ph.film .bg{position:relative;height:min(56vh,440px)}
  .ph.film .bg video,.ph.film .bg img{object-position:50% 40%}
  .ph.film .bg.dark img{object-position:50% 50%;padding:20px 0 40px}
  .ph.film .bg.bone img{inset:0 auto 0 50%;transform:translateX(-50%);padding:0}
  .ph.film .bg::after{background:linear-gradient(0deg,var(--deep) 0%,rgba(12,14,16,.6) 22%,rgba(12,14,16,0) 50%)}
  .ph.film .wrap{margin-top:-56px}
  .ph.film .lead{font-size:18px}
  .ph.film h1.long{font-size:34px}
  .ph.film .pp{bottom:auto;top:-64px}
}

/* placeholders that tools/launch/prepare.py fills in at launch (the date of the first news item) */
.ph-txt{color:var(--ink-2);border-bottom:1px dashed var(--line)}

/* document pages (forskning, integritet, licenser, 404): long text in one readable column */
.doc{padding:72px 0 96px}
.doc.more{padding-top:0}
.prose{max-width:760px}
.prose h1{font-size:clamp(34px,4.2vw,52px);line-height:1.08;letter-spacing:-.025em;max-width:none;margin:0 0 14px}
.prose h2{font-size:24px;line-height:1.25;letter-spacing:-.015em;margin:48px 0 12px}
.prose h3{font-size:19px;margin:32px 0 10px}
.prose p,.prose li{margin:0 0 12px;color:var(--ink-2)}
.prose b{color:var(--ink);font-weight:500}
.prose ul,.prose ol{padding-left:20px}
.prose li{padding-left:4px}
.prose a:not(.btn){color:var(--ink);text-underline-offset:3px;text-decoration-color:var(--ink-2)}
.prose a:not(.btn):hover{text-decoration-color:var(--ink)}
.prose hr{border:0;border-top:1px solid var(--line);margin:56px 0}
.prose code{font:14px var(--mono);color:var(--ink)}
.prose .upd{font-size:14px;margin-bottom:28px}
.refs{font-size:14px;line-height:1.55;padding-left:24px}
.refs li{margin:0 0 12px;scroll-margin-top:84px;overflow-wrap:anywhere}
.refs li:target{color:var(--ink)}
@media (max-width:900px){
  .doc{padding:44px 0 64px}
  .prose h2{font-size:21px;margin-top:36px}
  .prose hr{margin:40px 0}
}

/* Below the film opening (22 Nov 2026, night): larger type and quieter, editorial components, so the content holds the
   same level as the opening. Cards lose their boxes, lists read in full ink, the way in for a clinic becomes a timeline. */
.sec h2{font-size:clamp(32px,3.4vw,46px);line-height:1.08;letter-spacing:-.03em;margin-bottom:18px}
.sec h3{font-size:23px;letter-spacing:-.01em}
.sec .intro{font-size:19px}
.cards{gap:32px 64px}
.card,.band .card{padding:28px 0 0;border:0;border-top:1px solid #AEB9BB;border-radius:0;background:none}
.card p{font-size:18px}
.list li{position:relative;padding:16px 0 16px 28px;font-size:18px;color:var(--ink)}
.list li::before{content:"";position:absolute;left:0;top:30px;width:12px;height:1px;background:var(--teal)}
.flow{position:relative;margin-top:56px;border-top:0}
.flow::before{content:"";position:absolute;left:0;right:0;top:22px;height:1px;background:var(--line)}
.flow li,.flow li+li{position:relative;padding:0 32px 0 0;border:0}
.flow .n{position:relative;display:grid;place-items:center;width:44px;height:44px;margin-bottom:26px;border:1px solid var(--ink-2);border-radius:50%;background:var(--bg);font:500 17px/1 var(--head);color:var(--ink)}
.band .flow .n{background:var(--bg-2)}
.flow b{font-size:23px;margin-bottom:8px}
.flow p{font-size:17px}
.faq summary{padding:26px 0;font-size:20px}
.faq details p{font-size:17px}
.person p{font-size:18px}
@media (max-width:900px){
  .cards{gap:28px}
  .card p,.list li{font-size:17px}
  .flow{grid-template-columns:1fr;margin-top:36px}
  .flow::before{left:22px;right:auto;top:0;bottom:24px;width:1px;height:auto}
  .flow li,.flow li+li,.flow li:nth-child(3),.flow li:nth-child(4){padding:0 0 32px 68px;border:0}
  .flow .n{position:absolute;left:0;top:-6px;margin:0}
  .faq summary{font-size:18px;padding:22px 0}
}
/* a heading on the left and a list in large type on the right (what the clinic gets / what we ask) */
.split>h2{margin:0}
.split.next{margin-top:80px}
.list.big{margin:0}
.list.big li{font:400 21px/1.45 var(--head);letter-spacing:-.01em;padding:20px 0 20px 32px}
.list.big li::before{top:35px;width:14px}
@media (max-width:900px){
  .split.next{margin-top:56px}
  .list.big li{font-size:19px;padding:16px 0 16px 28px}
  .list.big li::before{top:29px}
}

/* Direction A on the subpages (Himan 2026-11-22 night, «Mörka som startsidan»): body.noir puts every page on the start
   page's black. The opening runs straight on into the page (no edge, the gradient ends in black), headings take the
   scale of the start page's scenes, pictures lose their frames, bands become space instead of grey boxes. */
.noir .ph.film{--bg:#000;--deep:#000;background:#000;border-bottom:0}
.noir .ph.film .bg::after{background:linear-gradient(90deg,rgba(0,0,0,.92) 0%,rgba(0,0,0,.72) 30%,rgba(0,0,0,.12) 62%,rgba(0,0,0,0) 75%),
  linear-gradient(0deg,#000 0%,rgba(0,0,0,.55) 18%,rgba(0,0,0,0) 42%)}
.noir .sec{padding:144px 0}
.noir .sec.band{background:#000;border:0}
.noir .sec+.sec{border-top:1px solid rgba(233,238,240,.08)}
.noir .sec.band.contact{border:0}
.noir .sec h2{font-size:clamp(38px,4.8vw,72px);line-height:1.02;letter-spacing:-.04em;margin-bottom:24px}
.noir .sec .intro{font-size:21px;color:var(--ink-2);max-width:46ch}
.noir .phase figure img,.noir .ph figure img,.noir .result img{border:0;border-radius:6px;box-shadow:none}
.noir .phase h3{font-size:30px;letter-spacing:-.02em}
.noir .monitor{box-shadow:0 0 0 1px rgba(233,238,240,.1)}
.noir .card,.noir .band .card{border-top-color:rgba(233,238,240,.24)}
.noir .list li::before{background:var(--ink-2)}
.noir .flow .n{background:#000;border-color:rgba(233,238,240,.4)}
.noir .tl{border-bottom-color:var(--ink-2)}
.noir .kit .logo{background:#0B0E10}
.noir .doc{padding:112px 0 144px}
.noir .doc.more{padding-top:0}
.noir .prose h2{font-size:30px;letter-spacing:-.02em;margin-top:64px}
.noir .prose p,.noir .prose li{font-size:18px;line-height:1.7}
.noir .refs li{font-size:14px;line-height:1.55}
@media (max-width:900px){
  .noir .sec{padding:80px 0}
  .noir .sec h2{font-size:36px}
  .noir .sec .intro{font-size:18px}
  .noir .phase h3{font-size:24px}
  .noir .doc{padding:64px 0 88px}
  .noir .prose h2{font-size:24px;margin-top:44px}
  .noir .prose p,.noir .prose li{font-size:17px}
}
@media (max-width:820px){
  .noir .ph.film .bg::after{background:linear-gradient(0deg,#000 0%,rgba(0,0,0,.6) 22%,rgba(0,0,0,0) 50%)}
}
/* Simulatorn as scenes: each part of the procedure is one wide picture, its name large, the steps beside it; the C-arm
   is the start page's two round images; the clips are the start page's pair of full-height films */
.noir .phases{gap:136px;margin-top:80px}
.noir .phase{grid-template-columns:1fr;gap:44px}
.noir .phase:nth-child(even) figure{order:0}
.noir .phase figure{position:static}
.noir .phase figure img{aspect-ratio:2/1}
.noir .phase>div{display:grid;grid-template-columns:5fr 7fr;column-gap:64px;align-items:start}
.noir .phase .range{grid-column:1;grid-row:1}
.noir .phase h3{grid-column:1;grid-row:2;font-size:clamp(30px,3.4vw,48px);line-height:1.05;letter-spacing:-.035em}
.noir .phase .steps{grid-column:2;grid-row:1/span 3;margin:0}
.noir .phase .steps b{font-size:18px}
.scene.xr .lede{max-width:56ch;margin:-44px auto 80px;font-size:19px;color:var(--ink-2)}
.scene.xr .tl{margin-top:56px}
.noir .sec.pairsec{padding-bottom:0}
.noir .pairsec .pair{margin-top:64px}
.noir .sec+.scene,.noir .scene+.sec{border-top:1px solid rgba(233,238,240,.08)}
@media (max-width:900px){
  .noir .phases{gap:80px;margin-top:48px}
  .noir .phase{gap:24px}
  .noir .phase figure img{aspect-ratio:16/10}
  .noir .phase>div{grid-template-columns:1fr}
  .noir .phase h3{font-size:28px}
  .noir .phase .steps{grid-column:1;grid-row:auto;margin-top:20px}
  .scene.xr .lede{margin:-24px auto 48px;font-size:17px}
  .noir .pairsec .pair{margin-top:40px}
}
/* Om oss: the founder as the start page's portrait scene (picture full height on the left, text on the black) */
.noir .scene.me figure::after{display:none}
.noir .scene.me .role{font:400 15px/1.4 var(--sans);color:var(--ink-2);margin:-12px 0 32px}
.noir .scene.me .role+p{font:400 22px/1.55 var(--head);letter-spacing:-.01em;color:var(--ink);max-width:48ch}
@media (max-width:900px){.noir .scene.me .role+p{font-size:19px}}
