/* KOORT — motion system */

:root{
  --deep:#172641;
  --ink:#11182b;
  --accent:#1f3550;
  --ice:#c1d0ff;
  --paper:#f3f3ef;
  --motion-ease:cubic-bezier(.2,.75,.25,1)
}

.container{width:min(1320px,calc(100% - 96px))}
.section{padding-block:110px}

.site-header{
  background:#14233df2;
  border-bottom-color:#ffffff20
}

.header-inner{gap:32px}
.header-logo-tile{border-radius:2px}
.header-wordmark{letter-spacing:-.065em}

/* Satin aluminium: a material accent, with navy as the main surface. */
:root{
  --aluminium:linear-gradient(118deg,#b2bac5 0%,#edf0f3 24%,#d5dbe2 45%,#f7f8fa 53%,#c4ccd5 76%,#e0e5eb 100%);
  --brushed:repeating-linear-gradient(0deg,#ffffff0a 0px,#ffffff0a 1px,#07121f05 1px,#07121f05 3px)
}

.site-header{
  border-bottom-color:#bac7dd42;
  box-shadow:inset 0 -1px #06122570,0 5px 24px #07132812
}

.header-logo-tile{
  background:var(--brushed),var(--aluminium);
  box-shadow:inset 0 1px 1px #fff,inset 0 -1px 2px #62708670,0 3px 10px #030b1938
}

.header-wordmark{
  color:#e8ecf1;
  text-shadow:0 1px 0 #ffffff30,0 2px 3px #040b1e80
}

.button{
  border-radius:2px;
  position:relative;
  overflow:hidden;
  min-height:54px
}

.button .arrow{transition:transform .35s var(--motion-ease)}
.button:hover .arrow{transform:translateX(4px)}

.button.primary{
  background:#1f3550;
  box-shadow:0 8px 32px #1f355038
}

.button.primary:hover{background:#1f3550}
.button:active{transform:translateY(0)}

.koort-home{
  background:var(--deep);
  color:#f5f7ff
}

.koort-home h2{
  font-size:clamp(36px,4vw,58px);
  line-height:1.07;
  letter-spacing:-.055em
}

.koort-home p{line-height:1.75}

.koort-home .section-label{
  letter-spacing:.14em;
  font-size:10px
}

.micro-label{
  font-size:9px!important;
  letter-spacing:.13em;
  text-transform:uppercase;
  font-weight:700
}

/* HERO */

.motion-hero{
  position:relative;
  isolation:isolate;
  overflow:clip;
  background:
    radial-gradient(
      ellipse at 78% 43%,
      #1f35505c 0%,
      #29447a30 32%,
      transparent 59%
    ),
    linear-gradient(
      135deg,
      #172641 0%,
      #1d3153 52%,
      #223b67 100%
    )
}

.hero-atmosphere{
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none
}

.atmosphere-light{
  position:absolute;
  inset:-25% -20% -20% 20%;
  background:
    radial-gradient(
      ellipse at 73% 47%,
      #1f355073,
      #1f35502c 31%,
      transparent 57%
    );
  transform:translate3d(
    var(--light-x,0px),
    var(--light-y,0px),
    0
  )
}

.atmosphere-grid{
  position:absolute;
  width:70%;
  height:160%;
  right:-18%;
  top:-30%;
  background-image:
    linear-gradient(#a6b8c91b 1px,transparent 1px),
    linear-gradient(90deg,#a6b8c91b 1px,transparent 1px);
  background-size:65px 65px;
  transform:perspective(850px) rotateY(-26deg) rotateZ(-18deg);
  mask-image:radial-gradient(ellipse,#000,transparent 68%);
  opacity:.65
}

.hero-layout{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:42px;
  align-items:center;
  padding-block:70px 45px;
  min-height:675px
}

.motion-hero .hero-copy{
  position:relative;
  z-index:2;
  max-width:none
}

.motion-hero .eyebrow{
  color:#d0daf6;
  display:flex;
  align-items:center;
  font-size:9px;
  letter-spacing:.12em;
  margin-bottom:32px
}

.motion-hero h1{
  font-size:clamp(45px,4.5vw,68px);
  font-weight:500;
  line-height:1.07;
  letter-spacing:-.064em;
  text-wrap:initial
}

.motion-hero h1 em{
  display:inline-block;
  color:#b5c6ff
}

.motion-hero .hero-intro{
  font-size:16px;
  line-height:1.8;
  color:#ccd5e8;
  max-width:515px;
  margin-top:30px
}

.motion-hero .actions{
  gap:24px;
  margin-top:32px
}

.motion-hero .button{
  font-size:12px;
  padding-inline:18px;
  gap:16px
}

.motion-hero .button.text{
  padding-inline:0
}

.motion-hero .button.primary,
.koort-home .contact-section .button.light{
  color:#172641;
  background:var(--brushed),var(--aluminium);
  border-color:#e3e9f2;
  box-shadow:inset 0 1px 0 #fff,inset 0 -1px 1px #65738b66,0 9px 25px #05102240;
  transition:transform .25s,box-shadow .25s
}

.motion-hero .button.primary:hover,
.koort-home .contact-section .button.light:hover{
  background:var(--brushed),var(--aluminium);
  box-shadow:inset 0 1px 0 #fff,inset 0 -1px 1px #65738b66,0 12px 32px #050e2855,0 0 18px #b5caff18
}

/* CHAOS → SYSTEM */

.system-demo{
  min-width:0;
  --order:0;
  --chaos:1;
  --cx:0deg;
  --cy:0deg;
  position:relative;
  perspective:1000px;
  background:
    linear-gradient(
      145deg,
      #263c67a8,
      #182b4ba0
    );
  border:1px solid #a8b5c74f;
  padding:18px 20px 16px;
  box-shadow:
    0 32px 75px #08122640,
    inset 0 1px #e7eefb45,
    inset 0 -1px #050d2280,
    inset 1px 0 #bdcadb16
}

.demo-heading{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:14px;
  color:#becbeb;
  padding-bottom:15px;
  border-bottom:1px solid #a3b7ec35
}

.demo-heading .micro-label{
  font-size:8px!important
}

.system-space{
  position:relative;
  aspect-ratio:600/520;
  transform:rotateX(var(--cx)) rotateY(var(--cy));
  transform-style:preserve-3d;
  transition:transform .3s ease-out;
  margin-block:20px;
  isolation:isolate
}

.system-space:before{
  content:'';
  position:absolute;
  inset:12%;
  background:
    radial-gradient(
      ellipse,
      #1f35505a,
      transparent 65%
    );
  z-index:-1
}

.system-orbit{
  position:absolute;
  inset:1%;
  border:1px solid #a6b8c93a;
  border-radius:50%;
  transform:rotate(-26deg) scaleY(.78);
  opacity:calc(.22 + var(--order)*.78)
}

.orbit-two{
  inset:9%;
  transform:rotate(50deg) scaleY(.78);
  border-color:#a6b8c92b
}

.circuit{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
  fill:none;
  stroke-width:1
}

.circuit-base{
  stroke:#a6b8c928
}

.circuit-current{
  stroke:#a2bcff;
  stroke-dasharray:1;
  stroke-dashoffset:calc(1 - var(--order));
  opacity:var(--order);
  filter:drop-shadow(0 0 5px #1f3550)
}

.control-point{
  position:absolute;
  left:50%;
  top:50%;
  width:98px;
  height:98px;
  border-radius:50%;
  transform:
    translate(-50%,-50%)
    scale(calc(.7 + var(--order)*.3));
  display:grid;
  place-items:center;
  background:var(--brushed),var(--aluminium);
  box-shadow:
    inset 0 1px 2px #fff,
    inset 0 -2px 3px #4c607b80,
    0 0 0 1px #c4cede80,
    0 0 0 8px #162944aa,
    0 0 0 9px #8c9fbc40,
    0 12px 32px #050e2866;
  z-index:3;
  opacity:calc(.25 + var(--order)*.75)
}

.control-point>span{
  font-size:19px;
  letter-spacing:-.07em;
  font-weight:800;
  color:#172641
}

.control-point>span>span{
  color:#1f3550
}

.flow-node{
  position:absolute;
  left:25%;
  top:23%;
  width:40%;
  max-width:204px;
  min-height:107px;
  padding:15px 18px 14px;
  background:var(--brushed),linear-gradient(125deg,#394b61 0%,#27384f 35%,#35465d 54%,#1c2c44 100%);
  border:1px solid #9aacc280;
  border-radius:5px;
  box-shadow:
    0 20px 28px #06101f66,
    inset 0 1px #eef5ff40,
    inset 0 -1px #060e2580;
  transform:
    translate(-50%,-50%)
    translate3d(var(--dx,0px),var(--dy,0px),0)
    rotate(var(--r,0deg))
    scale(var(--s,1));
  z-index:4;
  backface-visibility:hidden;
  will-change:transform
}

.flow-node strong{
  display:block;
  font-size:17px;
  line-height:1.2;
  letter-spacing:-.03em;
  margin:9px 0 5px;
  font-weight:600
}

.flow-node>span:not(.node-symbol){
  display:block;
  font-size:9px;
  line-height:1.5;
  color:#d0daf1
}

.node-symbol{
  color:#abc0ff;
  font-size:15px;
  line-height:1;
  display:block
}

.flow-node>i{
  width:4px;
  height:4px;
  background:#b3c5ff;
  border-radius:50%;
  position:absolute;
  right:15px;
  top:17px;
  opacity:var(--order);
  box-shadow:0 0 10px #a6b8c9
}

.flow-site{
  left:75%;
  z-index:6
}

.flow-enquiry{
  left:75%;
  top:77%;
  z-index:5
}

.flow-work{
  top:77%;
  z-index:7
}

.demo-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid #a3b7ec35;
  padding-top:18px
}

.demo-caption{
  color:#b5c2dc!important;
  font-size:10px;
  line-height:1.65!important
}

.demo-caption strong{
  color:#d4def3;
  font-weight:500
}

.hero-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid #8297c448;
  padding-block:24px;
  font-size:10px;
  color:#b7c3d9
}

.hero-foot>a{
  display:flex;
  gap:13px;
  align-items:center;
  color:#e1e8f7
}

.scroll-mark{
  font-size:20px;
  color:#b4c6ff
}

.motion-preference{
  font-size:9px;
  color:#bdc8dc;
  background:none;
  border:0;
  border-bottom:1px solid #71809a;
  padding:5px 0
}

.hero-foot [hidden],
.system-demo [hidden]{
  display:none
}

/* PROBLEM */

.problem-chapter{
  background:
    linear-gradient(
      135deg,
      #1c2d4b,
      #22395f
    );
  position:relative
}

.problem-chapter>.container{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:100px;
  align-items:start
}

.problem-heading{
  position:sticky;
  top:140px;
  padding-block:30px
}

.problem-heading .section-label{
  color:#b3c2e1
}

.problem-heading h2{
  font-size:clamp(48px,5.8vw,82px);
  margin-bottom:32px
}

.problem-heading h2 em{
  color:#b8c8ff
}

.problem-heading>p:last-child{
  color:#bdc8dd;
  max-width:320px;
  font-size:15px
}

.problem-story{
  padding:36px 36px 34px;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-bottom:1px solid #8195c35c;
  transition:background .4s,border-color .4s
}

.problem-story:first-child{
  border-top:1px solid #8195c35c
}

.problem-story:before{
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(115deg,#1f35504f,transparent 70%);
  opacity:0;
  transition:opacity .5s
}

.problem-story.is-current:before,
.problem-story:hover:before{
  opacity:1
}

.story-category{
  font-size:9px;
  letter-spacing:.15em;
  color:#b9c9ff
}

.problem-story h3{
  font-size:clamp(24px,2.25vw,33px);
  line-height:1.2;
  letter-spacing:-.035em;
  position:relative;
  margin:19px 0 24px
}

.problem-consequence{
  max-width:460px;
  position:relative
}

.problem-consequence>span{
  font-size:8px;
  letter-spacing:.13em;
  color:#a6b5d2
}

.problem-consequence p{
  font-size:13px;
  color:#c5cede;
  margin-top:8px
}

.problem-story>a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  margin-top:24px;
  font-size:11px;
  color:#e0e8ff
}

.story-ghost{
  font-size:200px;
  font-weight:500;
  line-height:1;
  position:absolute;
  right:-5px;
  top:27px;
  color:#a3baff0b;
  z-index:-1;
  transition:transform .6s
}

.problem-story:hover .story-ghost{
  transform:rotate(-12deg) scale(1.08)
}

/* CAPABILITIES */

.capability-section{
  background:#f3f3ef;
  color:var(--ink)
}

.capability-section h2 em{
  color:#1f3550
}

.capability-section .section-heading{
  grid-template-columns:1.35fr 1fr
}

.capability-section .section-heading>p{
  font-size:15px
}

.scenario-controls{
  display:flex;
  align-items:center;
  gap:9px;
  flex-wrap:wrap;
  margin:42px 0 22px
}

.scenario-controls[hidden]{
  display:none
}

.scenario-controls>span{
  font-size:11px;
  margin-right:10px;
  color:#5a6475
}

.scenario-controls button{
  background:transparent;
  color:#4e596c;
  border:1px solid #adb6c8;
  border-radius:30px;
  padding:11px 17px;
  font-size:11px;
  transition:background .25s,color .25s,border-color .25s
}

.scenario-controls button[aria-pressed=true]{
  background:#132447;
  color:#fff;
  border-color:#132447
}

.scenario-controls button:hover{
  border-color:#1f3550
}

.competence-map{
  position:relative;
  border-top:1px solid #aeb7c8
}

.competence-spine{
  position:absolute;
  left:11px;
  top:67px;
  bottom:67px;
  width:1px;
  background:#a6b8c9;
  pointer-events:none
}

.competence-spine>span{
  position:absolute;
  width:5px;
  height:5px;
  left:-2px;
  top:50%;
  border-radius:50%;
  background:#1f3550;
  box-shadow:0 0 0 5px #1f355018
}

.competence-row{
  display:grid;
  grid-template-columns:.95fr 1.25fr auto;
  gap:38px;
  align-items:center;
  padding:34px 0 34px 42px;
  border-bottom:1px solid #b8c0cd;
  position:relative;
  transition:background .3s,padding .3s
}

.competence-row:hover{
  background:#e6eaf6;
  padding-right:15px
}

.competence-name{
  position:relative
}

.competence-name h3{
  font-size:35px;
  font-weight:500;
  letter-spacing:-.06em
}

.competence-name>span:last-child{
  font-size:10px;
  display:block;
  color:#68738c;
  margin-top:8px
}

.competence-dot{
  position:absolute;
  left:-37px;
  top:20px;
  width:13px;
  height:13px;
  background:#f3f3ef;
  border:3px solid #1f3550;
  border-radius:50%;
  box-shadow:0 0 0 6px #f3f3ef
}

.competence-row>div>strong{
  font-size:15px;
  font-weight:600
}

.competence-row p{
  font-size:12px;
  max-width:420px;
  margin-top:8px
}

.competence-link{
  display:flex;
  align-items:center;
  gap:20px;
  font-size:11px;
  color:#1f3550
}

.scenario-output{
  background:#dfe5f5;
  border-left:2px solid #1f3550;
  padding:28px 32px;
  margin-top:32px;
  min-height:215px
}

.scenario-output>.micro-label{
  color:#445988;
  margin-bottom:14px
}

.scenario h3{
  font-size:22px;
  letter-spacing:-.03em
}

.scenario-path{
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr;
  gap:26px;
  align-items:center;
  margin-top:22px
}

.scenario-path p{
  font-size:12px;
  color:#364563
}

.scenario-path p span{
  display:block;
  font-size:9px;
  text-transform:uppercase;
  color:#1f3550;
  letter-spacing:.08em;
  margin-bottom:5px
}

.scenario-path b{
  font-weight:400;
  color:#a6b8c9
}

.scenario.is-entering{
  animation:scenario-in .35s var(--motion-ease) both
}

@keyframes scenario-in{
  from{
    opacity:.3;
    transform:translateY(7px)
  }
  to{
    opacity:1;
    transform:none
  }
}

/* JOURNEY */

.journey-section{
  background:
    linear-gradient(
      135deg,
      #182a47,
      #21395d
    )
}

.journey-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:110px;
  align-items:start
}

.journey-intro{
  position:sticky;
  top:145px
}

.journey-intro .section-label{
  color:#b4c2df
}

.journey-intro h2 em{
  color:#bdcdff
}

.journey-intro>p:not(.section-label){
  max-width:350px;
  color:#bfcae0;
  font-size:14px;
  margin:28px 0 18px
}

.journey-intro .button.text{
  font-size:11px;
  color:#d2deff
}

.journey{
  position:relative;
  list-style:none;
  margin:0;
  padding:0 0 0 44px;
  --journey:1
}

.journey:before,
.journey:after{
  content:'';
  position:absolute;
  left:5px;
  top:0;
  bottom:0;
  width:1px;
  background:#5b6b8a
}

.journey:after{
  background:#a6b8c9;
  transform:scaleY(var(--journey));
  transform-origin:top;
  box-shadow:0 0 12px #a6b8c975
}

.journey li{
  position:relative;
  min-height:240px;
  padding:10px 0 40px
}

.journey li:last-child{
  min-height:0;
  padding-bottom:0
}

.journey-point{
  width:11px;
  height:11px;
  border-radius:50%;
  background:#1b3156;
  border:1px solid #8294b6;
  position:absolute;
  left:-44px;
  top:17px;
  z-index:1;
  transition:background .4s,box-shadow .4s
}

.journey li.is-current .journey-point{
  background:#c0d1ff;
  box-shadow:0 0 0 6px #a6b8c922,0 0 24px #1f355088
}

.journey .micro-label{
  color:#b0c5f5;
  margin-bottom:17px
}

.journey h3{
  font-size:28px;
  max-width:390px;
  line-height:1.17;
  margin-bottom:15px
}

.journey li>p:not(.micro-label){
  font-size:13px;
  color:#bec9df;
  max-width:410px
}

.journey-result{
  display:block;
  margin-top:16px;
  font-size:10px;
  color:#e0e7f5
}

/* CASE */

.motion-case{
  background:#dce3f1;
  color:#101a30;
  padding-bottom:85px
}

.motion-case .section-label{color:#51668b}
.motion-case h2 em{color:#1f3550}
.motion-case p{color:#485a7a}
.motion-case .section-heading{margin-bottom:26px}

.case-ribbon{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:25px;
  padding-block:24px;
  font-size:10px;
  letter-spacing:.12em;
  color:#4c6086
}

.case-ribbon span{
  color:#8295b8;
  font-size:17px
}

.motion-case .device-scene{
  border:0;
  border-radius:0;
  background:radial-gradient(ellipse at 55% 60%,#334977,#0c172d 67%);
  padding:56px 16% 70px 9%;
  overflow:hidden
}

.motion-case .device-scene:after{content:none}

.device-scene[data-depth] .laptop{
  transform:
    perspective(1600px)
    translateY(var(--device-shift,0px))
    rotateY(var(--device-angle,5deg))
    rotateX(3deg)
}

.device-scene[data-depth] .phone{
  transform:
    translateY(var(--phone-shift,0px))
    rotate(5deg)
}

.motion-case .case-summary .eyebrow{color:#1f3550}
.motion-case .case-summary h3{font-size:32px}
.motion-case .button.light{background:#132342;color:white}

.case-status{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:10px;
  margin-top:30px;
  color:#576984!important
}

.case-status>span{
  width:5px;
  height:5px;
  background:#1f3550;
  border-radius:50%;
  flex-shrink:0
}

/* STOP */

.stop-section{
  background:#1f3550;
  color:white;
  position:relative;
  overflow:hidden
}

.stop-section .section-label{color:#fff}

.stop-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:center
}

.stop-word{
  font-size:clamp(100px,14vw,195px);
  font-weight:700;
  line-height:.88;
  letter-spacing:-.085em;
  transform:translateX(var(--stop-shift,0px));
  color:#ffffff
}

.stop-word span{color:#bdcbff}

.stop-copy h2{
  font-size:clamp(30px,3.1vw,45px);
  line-height:1.12
}

.stop-copy h2 em{color:#edf0ff}

.stop-copy>p{
  color:#fff;
  font-size:14px;
  margin:25px 0;
  max-width:450px
}

.stop-copy .button.dark{
  background:#15264b;
  font-size:11px
}

.stop-questions{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
  margin-top:75px;
  padding-top:28px;
  border-top:1px solid #d1d8ff88
}

.stop-questions span{
  font-size:14px;
  color:white
}

.stop-questions p{
  font-size:11px;
  color:#fff;
  margin-top:8px
}

/* ABOUT */

.koort-home .about-section{
  background:#eff0ec;
  color:#142039
}

.koort-home .about-grid{
  grid-template-columns:260px 1fr;
  gap:110px
}

.koort-home .portrait-card{
  background:#d7dce4;
  padding:0;
  max-width:260px;
  border:0;
  transform:rotate(-2deg)
}

.koort-home .portrait-card img{
  filter:saturate(.5);
  aspect-ratio:4/5
}

.koort-home .about-grid h2{font-size:45px}
.koort-home .about-grid p{max-width:680px}
.koort-home .about-grid .about-lead{font-size:18px}

.koort-home .experience-line{
  gap:20px;
  border-top:1px solid #c5ccd5;
  padding-top:20px
}

.koort-home .experience-line span{
  border:0;
  padding:0;
  font-size:10px;
  color:#4b5e7f
}

/* COOPERATION */

#wspolpraca{
  padding-block:95px;
  background:
    linear-gradient(
      135deg,
      #182a47,
      #21395d
    )
}

#wspolpraca .section-label{color:#b7c6e4}
#wspolpraca h2 em{color:#c2d0ff}
#wspolpraca p{color:#c0cbdf}

#wspolpraca .model-grid{
  gap:36px;
  margin-bottom:16px
}

#wspolpraca .model-grid article{
  border-color:#68799b;
  padding-top:26px
}

#wspolpraca .model-grid article>span{
  color:#c0d0ff
}

#wspolpraca .model-grid h3{
  font-size:26px
}

#wspolpraca .model-grid p{
  font-size:13px
}

#wspolpraca .button{
  color:#d5e0ff;
  font-size:12px
}

/* FAQ */

.koort-home .questions-section{
  background:
    linear-gradient(
      135deg,
      #213756,
      #294568
    );
  border-color:#485e80;
  color:white
}

.koort-home .questions-section p{color:#c4cfe4}
.koort-home .questions-section h2 em{color:#c5d2ff}
.koort-home .questions-section .section-label{color:#c1cee5}
.koort-home .faq-list details{border-color:#607495}
.koort-home .faq-list summary>span{color:#bfd0ff}

/* CONTACT */

.koort-home .contact-section{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding-block:125px;
  background:
    radial-gradient(
      ellipse at 10% 110%,
      #1f355068,
      transparent 58%
    ),
    linear-gradient(
      135deg,
      #192c4a,
      #253f66
    )
}

.koort-home .contact-section:before{
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(
      ellipse at 10% 110%,
      #1f35504f,
      transparent 58%
    )
}

.koort-home .contact-grid{
  gap:90px;
  grid-template-columns:1.35fr 1fr
}

.koort-home .contact-section h2{
  font-size:clamp(38px,4.3vw,64px);
  max-width:680px
}

.koort-home .contact-section h2 em{
  color:#ccd8ff
}

.koort-home .contact-section p{
  color:#c3d0e7
}

.koort-home .contact-direct>a{
  border-color:#7185a8;
  color:#f1f5ff;
  font-size:26px
}

.koort-home .contact-direct>span{
  color:#c1cee5
}

.site-footer{
  border-top:1px solid #415475;
  background:#172641
}

.footer-top p{
  letter-spacing:.08em
}

/* SUBPAGES */

.sub-hero{
  background:
    radial-gradient(
      ellipse at 85% 25%,
      #1f355055,
      transparent 60%
    ),
    #172641;
  padding-block:70px 80px
}

.sub-hero h1{
  font-size:clamp(38px,4.8vw,69px);
  max-width:1100px
}

.scope-list article{
  transition:background .3s
}

.scope-list article:hover{
  background:var(--surface-raised)
}

.case-timeline article{
  transition:background .5s,padding .5s
}

.case-timeline article.is-current{
  background:#29446d66;
  padding-inline:20px;
  border-color:#9bb1e8
}

.case-process .case-timeline{
  position:relative
}

.case-timeline h3{
  font-size:28px
}

.fit-lines p{
  padding-block:27px
}

.tag-row{
  flex-wrap:wrap
}

/* REVEAL */

.motion-ready [data-reveal]{
  transition:
    opacity .7s var(--motion-ease),
    transform .7s var(--motion-ease)
}

.motion-ready [data-reveal]:not(.is-visible){
  opacity:.15;
  transform:translateY(24px)
}

/* RESPONSIVE */

@media(min-width:1800px){
  .hero-layout{min-height:760px}
  .motion-hero h1{font-size:72px}
}

@media(max-width:1200px){

  .container{width:calc(100% - 64px)}

  .hero-layout{
    gap:27px;
    grid-template-columns:1.15fr 1fr;
    min-height:625px;
    padding-top:60px
  }

  .motion-hero h1{
    font-size:clamp(43px,4.7vw,58px)
  }

  .motion-hero .hero-intro{font-size:14px}
  .motion-hero .actions{gap:16px}

  .motion-hero .button{
    font-size:10px;
    gap:10px;
    padding-inline:14px
  }

  .flow-node{
    padding:13px;
    min-height:95px
  }

  .flow-node strong{font-size:15px}
  .flow-node>span:not(.node-symbol){font-size:8px}

  .control-point{
    width:78px;
    height:78px
  }

  .control-point>span{font-size:16px}

  .problem-chapter>.container{gap:50px}

  .competence-row{
    gap:24px;
    grid-template-columns:1fr 1.3fr auto
  }

  .competence-name h3{font-size:30px}

  .competence-link{
    font-size:10px;
    gap:12px
  }

  .journey-layout{gap:70px}
  .stop-layout{gap:45px}
  .stop-word{font-size:14.5vw}
  .koort-home .about-grid{gap:65px}
  .koort-home .contact-grid{gap:60px}
  .koort-home .contact-direct>a{font-size:22px}
}

@media(max-width:900px){

  .section{padding-block:80px}

  .hero-layout{
    grid-template-columns:1fr;
    gap:46px;
    min-height:0;
    padding-block:48px 35px
  }

  .motion-hero .hero-copy{max-width:690px}
  .motion-hero h1{font-size:64px}

  .motion-hero .hero-intro{
    font-size:16px;
    max-width:580px
  }

  .motion-hero .button{font-size:12px}

  .system-demo{
    max-width:600px;
    width:100%;
    justify-self:center
  }

  .flow-node{
    min-height:108px;
    padding:16px 18px
  }

  .flow-node strong{font-size:18px}
  .flow-node>span:not(.node-symbol){font-size:10px}

  .control-point{
    width:95px;
    height:95px
  }

  .hero-foot{
    font-size:9px;
    gap:16px
  }

  .problem-chapter>.container{
    grid-template-columns:1fr;
    gap:30px
  }

  .problem-heading{
    position:static;
    padding:0
  }

  .problem-heading h2{font-size:64px}
  .problem-heading h2 br{display:none}
  .problem-heading>p:last-child{max-width:500px}

  .problem-story{padding:32px}
  .problem-story h3{font-size:32px}

  .competence-row{
    grid-template-columns:1fr 1.25fr;
    gap:18px
  }

  .competence-link{grid-column:2}

  .competence-name{
    grid-row:span 2;
    align-self:center
  }

  .scenario-controls>span{width:100%}
  .scenario-path{gap:16px}
  .scenario-output{padding:24px}

  .journey-layout{
    grid-template-columns:.9fr 1.1fr;
    gap:35px
  }

  .journey-intro h2{font-size:40px}
  .journey h3{font-size:23px}
  .journey{padding-left:30px}
  .journey-point{left:-30px}

  .journey:before,
  .journey:after{
    left:5px
  }

  .stop-layout{gap:30px}
  .stop-copy h2{font-size:32px}

  .stop-copy .button{
    font-size:10px;
    padding-inline:14px;
    gap:12px
  }

  .koort-home .about-grid{
    grid-template-columns:200px 1fr;
    gap:35px
  }

  .koort-home .about-grid h2{font-size:36px}
  .koort-home .about-grid .about-lead{font-size:16px}

  .koort-home .contact-grid{
    grid-template-columns:1fr 1fr;
    gap:35px
  }

  .koort-home .contact-section h2{font-size:43px}

  .case-ribbon{
    font-size:8px;
    gap:18px
  }

  .motion-case .case-summary h3{font-size:28px}
  .motion-case .device-scene{min-height:0}
  #wspolpraca .model-grid h3{font-size:22px}
  .sub-hero h1{font-size:50px}
}

@media(max-width:600px){

  .container{width:calc(100% - 40px)}
  .section{padding-block:60px}

  .hero-layout{
    padding-block:36px 26px;
    gap:36px
  }

  .motion-hero .eyebrow{
    font-size:8px;
    letter-spacing:.1em;
    margin-bottom:26px
  }

  .motion-hero h1{
    font-size:clamp(33px,9.05vw,54px);
    line-height:1.1;
    letter-spacing:-.065em
  }

  .motion-hero .hero-intro{
    font-size:14px;
    line-height:1.8;
    margin-top:23px
  }

  .motion-hero .actions{
    gap:8px 18px;
    margin-top:25px
  }

  .motion-hero .button{
    font-size:11px;
    gap:17px;
    padding:14px 17px;
    min-height:49px
  }

  .motion-hero .button.text{padding-inline:0}

  .system-demo{
    margin-top:4px;
    padding:14px 12px 13px
  }

  .demo-heading{padding-bottom:12px}
  .demo-heading .micro-label{font-size:6px!important}

  .system-space{
    margin-block:10px;
    aspect-ratio:600/530
  }

  .flow-node{
    width:42%;
    padding:11px 10px;
    min-height:83px;
    box-shadow:0 12px 20px #0005
  }

  .flow-node strong{
    font-size:14px;
    margin-block:7px 4px
  }

  .flow-node>span:not(.node-symbol){font-size:9px}
  .node-symbol{font-size:12px}

  .flow-node>i{
    right:9px;
    top:11px;
    width:3px;
    height:3px
  }

  .control-point{
    width:61px;
    height:61px
  }

  .control-point>span{font-size:13px}
  .system-orbit{inset:3%}

  .demo-bottom{
    padding-top:12px;
    gap:12px
  }

  .demo-caption{font-size:8px}

  .hero-foot{
    flex-wrap:wrap;
    padding-block:18px;
    gap:10px;
    font-size:9px
  }

  .hero-foot>span{display:none}
  .motion-preference{font-size:8px}
  .hero-foot>a{gap:8px}
  .scroll-mark{font-size:16px}

  .atmosphere-grid{
    width:150%;
    right:-60%
  }

  .koort-home h2{
    font-size:36px;
    line-height:1.08
  }

  .koort-home .section-label{
    font-size:8px;
    margin-bottom:24px
  }

  .problem-heading h2{font-size:52px}
  .problem-heading>p:last-child{font-size:14px}
  .problem-chapter>.container{gap:24px}

  .problem-story{
    padding:28px 14px 27px
  }

  .problem-story h3{
    font-size:25px;
    line-height:1.19
  }

  .story-category{font-size:8px}
  .problem-consequence p{font-size:12px}

  .problem-story>a{
    font-size:10px;
    gap:12px
  }

  .story-ghost{
    font-size:160px;
    right:-10px
  }

  .capability-section .section-heading{
    grid-template-columns:1fr;
    gap:20px;
    margin-bottom:27px
  }

  .capability-section .section-heading>p{font-size:14px}

  .scenario-controls{
    gap:8px;
    margin-top:26px
  }

  .scenario-controls button{
    padding:10px 12px;
    font-size:9px
  }

  .scenario-controls>span{font-size:10px}

  .competence-row{
    padding:24px 0 24px 28px;
    grid-template-columns:1fr;
    gap:15px
  }

  .competence-name{grid-row:auto}
  .competence-name h3{font-size:31px}
  .competence-name>span:last-child{font-size:9px}

  .competence-dot{
    left:-26px;
    top:14px;
    width:11px;
    height:11px;
    border-width:2px
  }

  .competence-spine{
    left:7px;
    top:46px;
    bottom:172px
  }

  .competence-row>div>strong{font-size:13px}

  .competence-row p{
    font-size:11px;
    margin-top:6px;
    max-width:290px
  }

  .competence-link{
    grid-column:1;
    justify-content:space-between;
    font-size:10px;
    max-width:290px
  }

  .competence-link .arrow{width:17px}
  .competence-row:hover{padding-right:0}

  .scenario-output{
    padding:22px 19px;
    min-height:0;
    margin-top:25px
  }

  .scenario-output>.micro-label{font-size:7px!important}

  .scenario h3{
    font-size:21px;
    line-height:1.2
  }

  .scenario-path{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:13px;
    margin-top:24px
  }

  .scenario-path b{display:none}

  .scenario-path p{
    font-size:12px;
    border-left:1px solid #9caed4;
    padding-left:14px
  }

  .scenario-path p span{font-size:8px}
  .offer-note{line-height:1.7!important}

  .journey-layout{
    grid-template-columns:1fr;
    gap:40px
  }

  .journey-intro{position:static}
  .journey-intro h2 br:nth-of-type(2){display:none}
  .journey-intro h2{font-size:42px}
  .journey-intro>p:not(.section-label){font-size:14px}

  .journey{
    margin-left:5px;
    padding-left:28px
  }

  .journey li{
    min-height:0;
    padding-bottom:40px
  }

  .journey-point{left:-28px}
  .journey h3{font-size:25px}
  .journey li>p:not(.micro-label){font-size:12px}
  .journey-result{font-size:9px}
  .journey .micro-label{font-size:8px!important}

  .motion-case .section-heading>p{font-size:13px}

  .case-ribbon{
    gap:11px;
    font-size:6px;
    justify-content:space-between;
    letter-spacing:.04em
  }

  .case-ribbon span{font-size:12px}

  .motion-case .device-scene{
    margin-inline:-20px;
    padding:35px 15% 55px 6%;
    width:calc(100% + 40px)
  }

  .motion-case .case-summary h3{font-size:25px}
  .motion-case .case-summary>div>p{font-size:13px}

  .case-status{
    font-size:8px;
    align-items:flex-start;
    line-height:1.6!important
  }

  .case-status>span{margin-top:5px}

  .stop-layout{
    grid-template-columns:1fr;
    gap:35px
  }

  .stop-word{
    font-size:clamp(100px,28vw,168px)
  }

  .stop-copy h2{font-size:34px}
  .stop-copy h2 br:last-child{display:none}
  .stop-copy>p{font-size:14px}

  .stop-copy .button{
    font-size:10px;
    gap:13px;
    padding-inline:16px
  }

  .stop-questions{
    grid-template-columns:1fr;
    gap:21px;
    margin-top:35px;
    padding-top:25px
  }

  .stop-questions span{font-size:13px}

  .stop-questions p{
    font-size:11px;
    margin-top:4px
  }

  .koort-home .about-grid{
    display:flex;
    flex-direction:column;
    gap:30px
  }

  .koort-home .portrait-card{
    width:150px;
    max-width:150px
  }

  .koort-home .about-grid h2{font-size:34px}

  .koort-home .experience-line{
    gap:10px 18px
  }

  .koort-home .experience-line span{font-size:9px}

  #wspolpraca{padding-block:60px}
  #wspolpraca .model-grid{gap:0}
  #wspolpraca .model-grid h3{font-size:25px}
  #wspolpraca .model-grid p{font-size:13px}

  .koort-home .questions-grid h2{font-size:34px}
  .koort-home .contact-section{padding-block:70px}

  .koort-home .contact-grid{
    grid-template-columns:1fr;
    gap:38px
  }

  .koort-home .contact-section h2{font-size:42px}
  .koort-home .contact-direct>a{font-size:25px}
  .koort-home .contact-section .eyebrow{font-size:8px}

  .sub-hero{
    padding-block:40px 50px
  }

  .sub-hero h1{font-size:37px}
  .case-timeline h3{font-size:25px}

  .case-timeline article.is-current{
    padding-inline:12px
  }

  .motion-ready [data-reveal]:not(.is-visible){
    transform:translateY(14px)
  }
}

@media(max-width:359px){

  .container{width:calc(100% - 32px)}
  .motion-hero h1{font-size:32px}

  .motion-hero .eyebrow{
    font-size:7px;
    letter-spacing:.06em
  }

  .motion-hero .button{
    font-size:10px;
    padding:13px 15px
  }

  .flow-node strong{font-size:12px}
  .flow-node>span:not(.node-symbol){font-size:8px}

  .flow-node{
    padding:9px;
    min-height:77px
  }

  .control-point{
    width:53px;
    height:53px
  }

  .control-point>span{font-size:11px}
  .hero-foot>a{font-size:8px}
  .motion-preference{font-size:7px}
  .koort-home h2{font-size:32px}
  .problem-story h3{font-size:23px}
  .scenario-controls button{font-size:8px}

  .motion-case .device-scene{
    margin-inline:-16px;
    width:calc(100% + 32px)
  }

  .case-ribbon{
    gap:7px;
    font-size:5px
  }

  .koort-home .contact-section h2{font-size:37px}
  .koort-home .contact-direct>a{font-size:22px}

  .stop-copy .button{
    font-size:9px;
    padding-inline:12px
  }
}

/* REDUCED MOTION */

@media(prefers-reduced-motion:reduce){

  .system-space,
  .device-scene[data-depth] .laptop,
  .device-scene[data-depth] .phone,
  .stop-word{
    transform:none!important
  }

  .motion-ready [data-reveal]:not(.is-visible){
    opacity:1;
    transform:none
  }

  .flow-node{
    transform:translate(-50%,-50%)!important
  }

  .system-demo{
    --order:1!important
  }
}

.motion-limited .system-space,
.motion-limited .stop-word{
  transform:none!important
}

.motion-limited [data-reveal]{
  opacity:1!important;
  transform:none!important;
  transition:none!important
}

.motion-limited *{
  animation:none!important;
  scroll-behavior:auto!important
}

html.motion-limited{scroll-behavior:auto!important}

.motion-limited .device-scene .laptop{
  transform:
    perspective(1600px)
    rotateY(5deg)
    rotateX(3deg)!important
}

.motion-limited .device-scene .phone{
  transform:rotate(5deg)!important
}

/* PRINT */

@media print{

  .hero-atmosphere,
  .system-demo,
  .hero-foot,
  .stop-word,
  .scenario-controls{
    display:none
  }

  .koort-home,
  .koort-home section{
    background:white!important;
    color:black!important
  }

  .hero-layout,
  .journey-layout,
  .problem-chapter>.container,
  .stop-layout{
    display:block
  }

  .problem-heading,
  .journey-intro{
    position:static
  }

  .journey{
    --journey:1
  }

  .koort-home h2,
  .koort-home h1{
    font-size:30px
  }

  .motion-ready [data-reveal]{
    opacity:1!important;
    transform:none!important
  }
}
/* KOORT — hero demo typography */

.demo-heading .micro-label{
  font-size:10px!important;
}

.demo-caption{
  font-size:10px!important;
  letter-spacing:.08em;
  font-weight:600;
  color:#c8d3e8!important;
}

.demo-caption strong{
  font-weight:600;
  color:#e0e7f5;
}
