/* Home page below the 3D hero: a local copy of www.osc.no's home sections (template 490554453221), same words, pictures,
   type and spacing, on dark teal instead of white so the page does not jump from the live sea to a bright white page.
   Grounds: the site's teal (#063D4F, as its heroes and the footer), with a second colour on two sections (below).
   Every rule is scoped to section.pg / .foot, so the hero (also inside <main>) keeps its own rules (hero.css).
   Layout sits on a 12-column grid with 24 px gutters inside the 1200 px .wrap: tiles, cards and footer columns start
   on its column lines, and the photo beside "Preparing teams" spans six columns. */
html,body{height:auto;min-height:100%}
.pg,.foot{--teal:#063D4F;--line:#1B5E73;--text:#D4DDE3;--muted:#9FB3BD;--eye:#9ED3F0;--h:#fff;
  --panel:rgba(255,255,255,.04);--panel-h:rgba(255,255,255,.07);
  font-family:Calibri,Carlito,'Segoe UI',sans-serif;color:var(--text);line-height:1.55}
/* Two grounds take turns: the site's teal, and osc.no's light grey (#EEF2F3) on "What we simulate" and the film, with
   osc.no's own colours on it (teal headings, dark text, white tiles with grey borders). Owner's pick, 18 Nov 2026, over a
   deeper teal (#042E3C, which did not go with the teal), a lighter teal, ink and slate. */
section.pg{padding:80px 0;background:var(--teal)}
section.pg.alt{background:#EEF2F3;--h:#063D4F;--text:#1E2B31;--muted:#4A5A66;--line:#D3DADD;--eye:#003A63;--panel:#fff;--panel-h:#fff}
.pg h2,.pg h3{font-family:Montserrat,'Segoe UI',sans-serif;color:var(--h);margin:0;font-weight:700;letter-spacing:0}
.pg h2{font-size:40px;line-height:1.15}
.pg h3{font-size:20px;line-height:1.25}
.pg p{margin:0;font-size:18px;color:var(--text)}
.pg a{color:var(--h)}
.wrap{max-width:1200px;margin:0 auto;padding-left:32px;padding-right:32px;box-sizing:border-box}
/* Above 900 px the page uses the hero's 56 px side margin, so up to 1264 px wide the hero's logo and headline and the
   sections below stand on the same lines; wider than that the page keeps osc.no's centred column (1152 px of content)
   while the hero's UI keeps spanning the screen. */
@media (min-width:901px){.wrap{max-width:1264px;padding-left:var(--edge);padding-right:var(--edge)}}
.cols12{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px}
.pg .eyebrow{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--eye)}
.pg .btn{display:inline-flex;align-items:center;min-height:48px;padding:0 24px;background:var(--btn);color:#fff;text-decoration:none;
  font:700 18px/1 Calibri,Carlito,'Segoe UI',sans-serif;border-radius:4px;border:0;transition:background .15s}
.pg .btn:hover{background:var(--btn-hover);color:#fff}
.pg .more{color:var(--h);text-decoration:underline;text-decoration-color:var(--eye);text-underline-offset:5px;font-size:18px}
.pg .more:hover{color:var(--eye)}

/* Customer logos: the live carousel, moved from the old hero to the seam under the 3D one */
section.pg.trust{padding:44px 0 46px}
.marq{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}
.track{display:flex;align-items:center;width:max-content;animation:osc-scroll 123s linear infinite}
.lg{flex:none;display:block;margin:0 42px;opacity:.9;background-repeat:no-repeat;background-size:100% 100%}
.l-eq{width:105.88px;height:42px;background-image:url("https://www.osc.no/hubfs/osc-website-mockup/osc-home-carousel-logos/osc-carousel-logo-equinor.svg")}
.l-de{width:128.52px;height:34px;background-image:url("https://www.osc.no/hubfs/osc-website-mockup/osc-home-carousel-logos/osc-carousel-logo-deme.svg")}
.l-jd{width:46px;height:46px;background-image:url("https://www.osc.no/hubfs/osc-website-mockup/osc-home-carousel-logos/osc-customer-logo-jan-de-nul.svg")}
.l-ak{width:123.02px;height:35px;background-image:url("https://www.osc.no/hubfs/osc-website-mockup/osc-home-carousel-logos/osc-carousel-logo-aker-solutions.svg")}
.l-sa{width:35.32px;height:46px;background-image:url("https://www.osc.no/hubfs/osc-website-mockup/osc-home-carousel-logos/osc-carousel-logo-saipem.svg")}
.l-no{width:151.36px;height:29px;background-image:url("https://www.osc.no/hubfs/osc-website-mockup/osc-home-carousel-logos/osc-carousel-logo-norwegian-offshore-wind.svg")}
.l-oi{width:98.15px;height:44px;background-image:url("https://www.osc.no/hubfs/osc-website-mockup/osc-home-carousel-logos/osc-carousel-logo-ocean-installer.svg")}
.l-ax{width:149.69px;height:30px;background-image:url("https://www.osc.no/hubfs/osc-website-mockup/osc-home-carousel-logos/osc-carousel-logo-ax-tech.svg")}
.l-nd{width:104.75px;height:41px;background-image:url("https://www.osc.no/hubfs/osc-website-mockup/osc-home-carousel-logos/osc-carousel-logo-national-decommissioning-centre.svg")}
.l-pe{width:137.96px;height:32px;background-image:url("https://www.osc.no/hubfs/osc-website-mockup/osc-home-carousel-logos/osc-carousel-logo-perth-simulation.svg")}
.l-mo{width:142.08px;height:31px;background-image:url("https://www.osc.no/hubfs/osc-website-mockup/osc-home-carousel-logos/osc-carousel-logo-modec.svg")}
.l-st{width:84.84px;height:46px;background-image:url("https://www.osc.no/hubfs/osc-website-mockup/osc-home-carousel-logos/osc-carousel-logo-stq-competence-centre.svg")}
.l-ch{width:41.15px;height:46px;background-image:url("https://www.osc.no/hubfs/osc-website-mockup/osc-home-carousel-logos/osc-carousel-logo-chevron.svg")}
.l-kb{width:111.78px;height:40px;background-image:url("https://www.osc.no/hubfs/osc-website-mockup/osc-home-carousel-logos/osc-carousel-logo-kongsberg-maritime.svg")}
.l-ab{width:142.32px;height:32px;background-image:url("https://www.osc.no/hubfs/osc-website-mockup/osc-home-carousel-logos/osc-carousel-logo-aker-bp.svg")}
.l-tf{width:154.53px;height:28px;background-image:url("https://www.osc.no/hubfs/osc-website-mockup/osc-home-carousel-logos/osc-carousel-logo-technipfmc.svg")}
.l-om{width:144.91px;height:31px;background-image:url("https://www.osc.no/hubfs/osc-website-mockup/osc-home-carousel-logos/osc-carousel-logo-omega-subsea.svg")}
.l-ky{width:35.13px;height:46px;background-image:url("https://www.osc.no/hubfs/osc-website-mockup/osc-home-carousel-logos/osc-carousel-logo-kystdesign.svg")}
@keyframes osc-scroll{from{transform:translateX(0)}to{transform:translateX(-25%)}}
@media (prefers-reduced-motion:reduce){.track{animation:none;flex-wrap:wrap;width:auto;justify-content:center;row-gap:24px}.marq{-webkit-mask-image:none;mask-image:none}.dup{display:none}}

/* Photo frames (as osc.no's .ph): cover crop on a teal ground, never an empty box while loading */
.ph{position:relative;overflow:hidden;background:#1B5E73;border-radius:4px}
.ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}

/* Preparing teams: the bridge photo on six columns at the left, the three uses from column eight */
.value .wrap{row-gap:32px;align-items:stretch}
.value .ph{grid-column:1/7;grid-row:1;min-height:340px}
.value .txt{grid-column:8/13;grid-row:1;display:flex;flex-direction:column;gap:20px}
.value .uses{display:flex;flex-direction:column;margin-top:8px}
.value .uses div{padding:18px 0;border-top:1px solid var(--line)}
.value .uses div:last-child{border-bottom:1px solid var(--line)}
.value .uses h3{font-size:22px;margin-bottom:6px}

/* The promo film: the old hero video, full width near the end of the page, in the site's video box (.hv, as on the live
   home page and the Software page): teal box with a real frame as the poster, the film 2 px over each edge, a play/pause
   disc, a timeline along the bottom, sound and fullscreen buttons, and uncropped in fullscreen. js/home-film.js runs it. */
.film .hv{position:relative;aspect-ratio:16/9;border-radius:6px;overflow:hidden;cursor:pointer;
  background:#063D4F url("https://www.osc.no/hubfs/osc-website-mockup/osc-home-hero-poster.jpg") center/cover no-repeat}
.film .hv video{position:absolute;top:-2px;left:-2px;width:calc(100% + 4px);height:calc(100% + 4px);border:0;object-fit:cover;opacity:0;transition:opacity .5s ease;pointer-events:none}
.film .hv.on video{opacity:1}
.film .hv:fullscreen video{object-fit:contain}.film .hv:-webkit-full-screen video{object-fit:contain}
.hv-snd,.hv-fs{position:absolute;bottom:14px;z-index:4;width:44px;height:44px;border-radius:50%;border:0;padding:0;background:rgba(6,61,79,.78);color:#fff;
  cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s,background-color .2s}
.hv-fs{right:14px}.hv-snd{right:68px}.hv.no-fs .hv-fs{display:none}.hv.no-fs .hv-snd{right:14px}
.hv-snd:hover,.hv-fs:hover{background:rgba(14,135,204,.9)}
.hv-pp{position:absolute;top:50%;left:50%;width:72px;height:72px;margin:-36px 0 0 -36px;border-radius:50%;background:rgba(6,61,79,.78);color:#fff;
  display:flex;align-items:center;justify-content:center;pointer-events:none;opacity:0;transition:opacity .2s}
.hv-tl{position:absolute;left:0;right:0;bottom:0;z-index:3;height:18px;cursor:pointer;opacity:0;transition:opacity .2s;touch-action:none}
.hv-tl::before{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:rgba(255,255,255,.35);transition:height .15s}
.hv-tl-fill{position:absolute;left:0;bottom:0;width:0;height:4px;background:#0E87CC;transition:height .15s}
.hv-tl:hover::before,.hv-tl.on::before,.hv-tl:hover .hv-tl-fill,.hv-tl.on .hv-tl-fill{height:8px}
.hv:hover .hv-snd,.hv:hover .hv-fs,.hv:hover .hv-pp,.hv:hover .hv-tl,.hv.hv-paused .hv-pp,.hv.hv-paused .hv-tl,.hv.hv-paused .hv-snd,.hv.hv-paused .hv-fs,
.hv:has(:focus-visible) .hv-snd,.hv:has(:focus-visible) .hv-fs,.hv:has(:focus-visible) .hv-pp,.hv:has(:focus-visible) .hv-tl{opacity:1}
/* started without sound (the browser would not allow it): the sound button stays in sight, so it is one tap away */
.hv.hv-muted .hv-snd{opacity:1}
.hv-tl:focus-visible{outline:2px solid #fff;outline-offset:-2px}
.hv-snd:focus-visible,.hv-fs:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* keyboard: a "Play or pause video" button that shows only when focused */
.hv-kb{position:absolute;left:14px;bottom:28px;z-index:4;width:1px;height:1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
  background:rgba(6,61,79,.78);color:#fff;font-family:inherit;font-weight:600;font-size:15px;line-height:1;border-radius:22px;cursor:pointer}
.hv-kb:focus-visible{width:auto;height:44px;padding:0 18px;clip-path:none;overflow:visible;outline:2px solid #fff;outline-offset:2px}
/* touch screens: the controls show for a moment after a tap and while paused */
@media (hover:none){
  .hv .hv-snd,.hv .hv-fs,.hv .hv-pp,.hv .hv-tl{opacity:0}
  .hv.hv-active .hv-snd,.hv.hv-active .hv-fs,.hv.hv-active .hv-pp,.hv.hv-active .hv-tl,
  .hv.hv-paused .hv-snd,.hv.hv-paused .hv-fs,.hv.hv-paused .hv-pp,.hv.hv-paused .hv-tl,.hv.hv-muted .hv-snd{opacity:1}
}
/* fullscreen: the whole film, uncropped, on black; the controls hide while the mouse rests */
.hv:fullscreen{aspect-ratio:auto!important;border-radius:0!important;background:#000!important}
.hv:-webkit-full-screen{aspect-ratio:auto!important;border-radius:0!important;background:#000!important}
.hv.hv-idle{cursor:none!important}
.hv.hv-idle .hv-snd,.hv.hv-idle .hv-fs,.hv.hv-idle .hv-pp,.hv.hv-idle .hv-tl{opacity:0!important}
@media (prefers-reduced-motion:reduce){.film .hv video,.hv-snd,.hv-fs,.hv-pp,.hv-tl{transition:none}}

/* What we simulate: the eight tiles, as glass panels on the dark ground (four across = three columns each) */
.sims .wrap{display:flex;flex-direction:column;gap:28px}
.sims .head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:24px}
.tile{display:flex;flex-direction:column;gap:6px;padding:20px;border:1px solid var(--line);border-radius:6px;background:var(--panel);
  text-decoration:none;transition:border-color .15s,background .15s,transform .15s}
.tile:hover{border-color:#0E87CC;background:var(--panel-h);transform:translateY(-2px)}
.pg .tile strong{font:700 20px/1.25 Montserrat,'Segoe UI',sans-serif;color:var(--h)}
.pg .tile span{font-size:18px;color:var(--muted)}

/* Start small: the three set-ups with their photos (the collage stays on the third card) */
.scale .wrap{display:flex;flex-direction:column;gap:40px}
.scale .intro{display:flex;flex-direction:column;gap:12px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:24px}
.card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:var(--panel);
  text-decoration:none;transition:border-color .15s,background .15s,transform .15s}
.card:hover{border-color:#0E87CC;background:var(--panel-h);transform:translateY(-2px)}
.card:hover .ph img,.value .ph:hover img{transform:scale(1.03)}
.card .ph{height:200px;border-radius:0}
.card .body{padding:24px;display:flex;flex-direction:column;gap:10px;flex:1}
.pg .card .go{font-weight:700;color:var(--eye);margin-top:auto;padding-top:4px}

/* Closing band: the question on nine columns, Contact Us filling the last two */
section.pg.close{padding:72px 0 68px}
.close .wrap{align-items:center;row-gap:24px}
.close h2{grid-column:1/10}
.pg.close .btn{grid-column:11/13;justify-content:center}

/* Footer: osc.no's footer.html (four columns of three), with a hairline where it meets the closing band (same teal) */
.foot{background:#063D4F;color:#C9D3DA;padding:64px 0 40px;font-size:15px;border-top:1px solid var(--line)}
.foot a{color:#C9D3DA;text-decoration:none}.foot a:hover{color:#fff}
.foot .cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px}
.foot .cols>div{display:flex;flex-direction:column;gap:10px}
.foot .cols>div:first-child{gap:14px}
.foot strong{color:#fff}
.foot .tag{font-family:Montserrat,sans-serif;font-size:19px;font-weight:600;line-height:1.3;color:#fff}
.foot .where{font-size:14px;color:var(--muted)}
.foot .legal{margin-top:40px;padding-top:20px;border-top:1px solid var(--line);font-size:14px;row-gap:4px}
.foot .legal span{grid-column:1/10}
.foot .legal a{grid-column:10/13}

.pg a:focus-visible,.foot a:focus-visible{outline:2px solid var(--h,#fff);outline-offset:3px}

@media (max-width:999px){
  .value .txt,.value .ph{grid-column:1/-1}
  .value .ph{grid-row:2}
  .close h2,.pg.close .btn{grid-column:1/-1}
  .pg.close .btn{justify-self:start}
  .foot .cols{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  section.pg{padding:64px 0}
  .wrap{padding-left:24px;padding-right:24px}   /* the hero's margin at 900 px and narrower */
}
@media (max-width:640px){
  .pg h2{font-size:32px}
  section.pg{padding:56px 0}
  section.pg.trust{padding:32px 0 34px}
  .value .ph{min-height:240px}
  .pg.close .btn{justify-self:stretch}
  .pg .more{display:inline-flex;align-items:center;min-height:44px}
  .foot{padding:30px 0 22px}
  .foot .cols{gap:20px 24px}
  .foot .cols>div{gap:0;font-size:14px}
  .foot .cols>div:first-child{grid-column:1/-1;gap:8px;padding-bottom:18px;border-bottom:1px solid var(--line)}
  .foot .cols>div:first-child img{height:44px!important}
  .foot .cols>div:nth-child(n+2)>a{display:flex;align-items:center;min-height:48px;font-size:15px;color:#E6ECF0}
  .foot .cols>div:nth-child(4){grid-column:1/-1;flex-direction:row;flex-wrap:wrap;gap:0 14px;padding-top:16px;border-top:1px solid var(--line)}
  .foot .cols>div:nth-child(4) strong{flex-basis:100%}
  .foot strong{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:2px}
  .foot .tag{font-size:17px}
  .foot .legal{margin-top:22px;padding-top:14px;font-size:13px;color:var(--muted)}
  .foot .legal span,.foot .legal a{grid-column:1/-1}
  .foot .legal a{display:inline-flex;align-items:center;min-height:48px;justify-self:start}
}
@media (prefers-reduced-motion:reduce){.tile,.card,.ph img{transition:none}.tile:hover,.card:hover{transform:none}.card:hover .ph img,.value .ph:hover img{transform:none}}
